Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Number/parseFloat.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: 20.1.2.12
6 esid: sec-number.parsefloat
7 description: >
8 "parseFloat" property descriptor and value of Number
9 info: |
10 Number.parseFloat
11
12 The value of the Number.parseFloat data property is the same built-in function
13 object that is the value of the parseFloat property of the global object
14 defined in 18.2.4.
15
16 17 ECMAScript Standard Built-in Objects:
17
18 Every other data property described in clauses 18 through 26 and in Annex B.2
19 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
20 [[Configurable]]: true } unless otherwise specified.
21 includes: [propertyHelper.js]
22 ---*/
23
24 assert.sameValue(Number.parseFloat, parseFloat);
25
26 verifyNotEnumerable(Number, "parseFloat");
27 verifyWritable(Number, "parseFloat");
28 verifyConfigurable(Number, "parseFloat");