blob: 30fb45d3c09e6594cb3750ed0bc7394d77773b52 [file] [log] [blame]
// 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);