diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Array/constructor.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Array/constructor.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Array/constructor.js b/js/src/tests/test262/built-ins/Array/constructor.js new file mode 100644 index 0000000000..294e63ad80 --- /dev/null +++ b/js/src/tests/test262/built-ins/Array/constructor.js @@ -0,0 +1,12 @@ +// Copyright (C) 2017 Leo Balter. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-array-constructor-array +description: > + The Array constructor is a built-in function +---*/ + +assert.sameValue(typeof Array, 'function', 'The value of `typeof Array` is expected to be "function"'); + +reportCompare(0, 0); |