Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / Number / prototype / valueOf / prop-desc.js
blob9b7bcbe4910097d5cfa16f0d5f10baa81d389d65
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.
4 /*---
5 esid: sec-number.prototype.valueof
6 description: >
7   "valueOf" property of Number.prototype
8 info: |
9   17 ECMAScript Standard Built-in Objects:
11   Every other data property described in clauses 18 through 26 and in Annex B.2
12   has the attributes { [[Writable]]: true, [[Enumerable]]: false,
13   [[Configurable]]: true } unless otherwise specified.
14 includes: [propertyHelper.js]
15 ---*/
17 verifyNotEnumerable(Number.prototype, "valueOf");
18 verifyWritable(Number.prototype, "valueOf");
19 verifyConfigurable(Number.prototype, "valueOf");
21 reportCompare(0, 0);