summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/BigInt/proto.js
blob: 8e0ed21828a773166d3d9236a0feaeda47f2ad2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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 constructor is Function.prototype
esid: sec-properties-of-the-bigint-constructor
info: |
  The value of the [[Prototype]] internal slot of the BigInt constructor is the
  intrinsic object %FunctionPrototype%.
features: [BigInt]
---*/

var proto = Object.getPrototypeOf(BigInt);

assert.sameValue(proto, Function.prototype);

reportCompare(0, 0);