summaryrefslogtreecommitdiff
path: root/test/built-ins/BigInt/proto.js
blob: 30fb45d3c09e6594cb3750ed0bc7394d77773b52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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);