diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Array/prototype/fill/name.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Array/prototype/fill/name.js | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Array/prototype/fill/name.js b/js/src/tests/test262/built-ins/Array/prototype/fill/name.js new file mode 100644 index 0000000000..35d210dec3 --- /dev/null +++ b/js/src/tests/test262/built-ins/Array/prototype/fill/name.js @@ -0,0 +1,24 @@ +// Copyright (C) 2015 the V8 project authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. +/*--- +esid: sec-array.prototype.fill +description: > + Array.prototype.fill.name value and descriptor. +info: | + 22.1.3.6 Array.prototype.fill (value [ , start [ , end ] ] ) + + 17 ECMAScript Standard Built-in Objects + +includes: [propertyHelper.js] +---*/ + +assert.sameValue( + Array.prototype.fill.name, 'fill', + 'The value of `Array.prototype.fill.name` is `"fill"`' +); + +verifyNotEnumerable(Array.prototype.fill, 'name'); +verifyNotWritable(Array.prototype.fill, 'name'); +verifyConfigurable(Array.prototype.fill, 'name'); + +reportCompare(0, 0); |