summaryrefslogtreecommitdiff
path: root/test/built-ins/Atomics/proto.js
blob: ce8649ba47f8ccc262793ba94b5e69e84283f9a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2016 The V8 Project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-atomics-object
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%.
---*/

var proto = Object.getPrototypeOf(Atomics);

assert.sameValue(proto, Object.prototype);