summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Array/of/name.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Array/of/name.js')
-rw-r--r--js/src/tests/test262/built-ins/Array/of/name.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Array/of/name.js b/js/src/tests/test262/built-ins/Array/of/name.js
new file mode 100644
index 0000000000..842dd1ad11
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Array/of/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.of
+description: >
+ Array.of.name value and property descriptor
+info: |
+ Array.of ( ...items )
+
+ 17 ECMAScript Standard Built-in Objects
+
+includes: [propertyHelper.js]
+---*/
+
+assert.sameValue(
+ Array.of.name, 'of',
+ 'The value of Array.of.name is expected to be "of"'
+);
+
+verifyNotEnumerable(Array.of, 'name');
+verifyNotWritable(Array.of, 'name');
+verifyConfigurable(Array.of, 'name');
+
+reportCompare(0, 0);