test262/test/intl402/PluralRules/supportedLocalesOf/arguments.js

15 lines
421 B
JavaScript

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