Backed out 3 changesets (bug 1892041) for causing failures on async-module-does-not...
[gecko.git] / js / src / tests / test262 / built-ins / Array / prototype / copyWithin / name.js
blobc8c6c0b5b9e72897c7a6ea3f67948516ac420195
1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 esid: sec-array.prototype.copywithin
5 description: >
6   Array.prototype.copyWithin.name value and descriptor.
7 info: |
8   22.1.3.3 Array.prototype.copyWithin (target, start [ , end ] )
10   17 ECMAScript Standard Built-in Objects
12 includes: [propertyHelper.js]
13 ---*/
15 assert.sameValue(
16   Array.prototype.copyWithin.name, 'copyWithin',
17   'The value of `Array.prototype.copyWithin.name` is `"copyWithin"`'
20 verifyNotEnumerable(Array.prototype.copyWithin, 'name');
21 verifyNotWritable(Array.prototype.copyWithin, 'name');
22 verifyConfigurable(Array.prototype.copyWithin, 'name');
24 reportCompare(0, 0);