summaryrefslogtreecommitdiff
path: root/test/built-ins/Atomics/sub/name.js
blob: 665a6e0ae0afffb1071bfe03ebe0e7a695ea0a7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2015 André Bargull. All rights reserved.
// Copyright (C) 2017 Mozilla Corporation. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: >
  Atomics.sub.name is "sub".
includes: [propertyHelper.js]
---*/

assert.sameValue(Atomics.sub.name, "sub");

verifyNotEnumerable(Atomics.sub, "name");
verifyNotWritable(Atomics.sub, "name");
verifyConfigurable(Atomics.sub, "name");