test262/test/built-ins/BigInt/proto.js

16 lines
499 B
JavaScript

// 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);