test262/test/intl402/NumberFormat/supportedLocalesOf/11.2.2_b.js

15 lines
398 B
JavaScript

// Copyright 2013 Mozilla Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file.
/*---
es5id: 11.2.2_b
description: >
Tests that Intl.NumberFormat.supportedLocalesOf doesn't access
arguments that it's not given.
author: Norbert Lindenberg
includes: [testIntl.js]
---*/
taintDataProperty(Object.prototype, "1");
new Intl.NumberFormat("und");