test262/test/built-ins/Atomics/add/name.js

16 lines
449 B
JavaScript
Raw Normal View History

// 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.add.name is "add".
includes: [propertyHelper.js]
---*/
assert.sameValue(Atomics.add.name, "add");
verifyNotEnumerable(Atomics.add, "name");
verifyNotWritable(Atomics.add, "name");
verifyConfigurable(Atomics.add, "name");