summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/BigInt/prototype/proto.js
blob: df0b8edeaff23a58f8219b4b202ee9796c838d2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 2017 Robin Templeton. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: The prototype of BigInt.prototype is Object.prototype
esid: sec-properties-of-the-bigint-prototype-object
info: |
  The value of the [[Prototype]] internal slot of the BigInt prototype object
  is the intrinsic object %ObjectPrototype%.
features: [BigInt]
---*/

var proto = Object.getPrototypeOf(BigInt.prototype);
assert.sameValue(proto, Object.prototype);

reportCompare(0, 0);