Debian Codegraph @

js/src/tests/test262/intl402/Intl/getCanonicalLocales/length.js

raw
1 // Copyright 2016 Mozilla Corporation. All rights reserved.
2 // This code is governed by the license found in the LICENSE file.
3
4 /*---
5 esid: sec-intl.getcanonicallocales
6 description: Intl.getCanonicalLocales.length.
7 info: |
8 8.2.1 Intl.getCanonicalLocales (locales)
9 1. Let ll be ? CanonicalizeLocaleList(locales).
10 2. Return CreateArrayFromList(ll).
11 includes: [propertyHelper.js]
12 ---*/
13
14 verifyProperty(Intl.getCanonicalLocales, "length", {
15 value: 1,
16 writable: false,
17 enumerable: false,
18 configurable: true,
19 });
20
21 reportCompare(0, 0);