diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Array/prototype/proto.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Array/prototype/proto.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Array/prototype/proto.js b/js/src/tests/test262/built-ins/Array/prototype/proto.js new file mode 100644 index 0000000000..9d65c83869 --- /dev/null +++ b/js/src/tests/test262/built-ins/Array/prototype/proto.js @@ -0,0 +1,17 @@ +// Copyright (C) 2017 Leo Balter. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/*--- +esid: sec-properties-of-the-array-prototype-object +description: > + The [[Prototype]] of Array.prototype is Object.Prototype. +info: | + 22.1.3 Properties of the Array Prototype Object + + The value of the [[Prototype]] internal slot of the Array prototype object is + the intrinsic object %ObjectPrototype%. +---*/ + +assert.sameValue(Object.getPrototypeOf(Array.prototype), Object.prototype); + +reportCompare(0, 0); |