Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/isNaN/length.js

raw
1 // Copyright (C) 2016 The V8 Project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 es6id: 18.2.3
6 esid: sec-isnan-number
7 description: >
8 The length property of isNaN is 1
9 includes: [propertyHelper.js]
10 ---*/
11
12 assert.sameValue(isNaN.length, 1, "The value of `isNaN.length` is `1`");
13
14 verifyNotEnumerable(isNaN, "length");
15 verifyNotWritable(isNaN, "length");
16 verifyConfigurable(isNaN, "length");