Debian Codegraph @

js/src/tests/test262/built-ins/String/fromCodePoint/length.js

raw
1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 es6id: 21.1.2.2
5 description: >
6 The length property of the String.fromCodePoint constructor is 1.
7 includes: [propertyHelper.js]
8 features: [String.fromCodePoint]
9 ---*/
10
11 verifyProperty(String.fromCodePoint, "length", {
12 value: 1,
13 writable: false,
14 enumerable: false,
15 configurable: true
16 });
17
18 reportCompare(0, 0);