Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/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 ---*/
9
10 assert.sameValue(
11 String.fromCodePoint.length, 1,
12 'The value of `String.fromCodePoint.length` is `1`'
13 );
14
15 verifyNotEnumerable(String.fromCodePoint, 'length');
16 verifyNotWritable(String.fromCodePoint, 'length');
17 verifyConfigurable(String.fromCodePoint, 'length');