Debian Codegraph @

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

raw
1 // Copyright (C) 2016 The V8 Project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-atomics-object
6 description: >
7 The prototype of Atomics is Object.prototype
8 info: |
9 The Atomics Object
10
11 The value of the [[Prototype]] internal slot of the Atomics object is the
12 intrinsic object %ObjectPrototype%.
13 ---*/
14
15 var proto = Object.getPrototypeOf(Atomics);
16
17 assert.sameValue(proto, Object.prototype);