Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / BigInt / prototype / proto.js
blobdf0b8edeaff23a58f8219b4b202ee9796c838d2a
1 // Copyright (C) 2017 Robin Templeton. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 description: The prototype of BigInt.prototype is Object.prototype
6 esid: sec-properties-of-the-bigint-prototype-object
7 info: |
8   The value of the [[Prototype]] internal slot of the BigInt prototype object
9   is the intrinsic object %ObjectPrototype%.
10 features: [BigInt]
11 ---*/
13 var proto = Object.getPrototypeOf(BigInt.prototype);
14 assert.sameValue(proto, Object.prototype);
16 reportCompare(0, 0);