2017-02-07 17:17:31 +01:00
|
|
|
// Copyright (C) 2016 The V8 Project authors. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
|
|
|
/*---
|
2017-07-26 23:49:55 +02:00
|
|
|
esid: sec-atomics-object
|
2017-02-07 17:17:31 +01:00
|
|
|
description: >
|
|
|
|
The prototype of Atomics is Object.prototype
|
|
|
|
info: |
|
|
|
|
The Atomics Object
|
|
|
|
|
|
|
|
The value of the [[Prototype]] internal slot of the Atomics object is the
|
|
|
|
intrinsic object %ObjectPrototype%.
|
2018-03-20 00:51:32 +01:00
|
|
|
features: [Atomics]
|
2017-02-07 17:17:31 +01:00
|
|
|
---*/
|
|
|
|
|
2018-06-27 18:58:02 +02:00
|
|
|
assert.sameValue(
|
|
|
|
Object.getPrototypeOf(Atomics),
|
|
|
|
Object.prototype,
|
|
|
|
'Object.getPrototypeOf(Atomics) returns the value of `Object.prototype`'
|
|
|
|
);
|