Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/BigInt/proto.js

raw
1 // Copyright (C) 2017 Robin Templeton. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 description: The prototype of BigInt constructor is Function.prototype
6 esid: sec-properties-of-the-bigint-constructor
7 info: |
8 The value of the [[Prototype]] internal slot of the BigInt constructor is the
9 intrinsic object %FunctionPrototype%.
10 features: [BigInt]
11 ---*/
12
13 var proto = Object.getPrototypeOf(BigInt);
14
15 assert.sameValue(proto, Function.prototype);