diff options
Diffstat (limited to 'js/src/tests/test262/built-ins/Object/is/object-is.js')
-rw-r--r-- | js/src/tests/test262/built-ins/Object/is/object-is.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Object/is/object-is.js b/js/src/tests/test262/built-ins/Object/is/object-is.js new file mode 100644 index 0000000000..22dcd083aa --- /dev/null +++ b/js/src/tests/test262/built-ins/Object/is/object-is.js @@ -0,0 +1,21 @@ +// Copyright (C) 2015 the V8 project authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. +/*--- +es6id: 19.1.2.10 +description: > + Object.is ( value1, value2 ) + + 17 ECMAScript Standard Built-in Objects + +includes: [propertyHelper.js] +---*/ + + +assert.sameValue(typeof Object.is, "function"); +assert.sameValue(Object.is.name, "is"); + +verifyWritable(Object, "is"); +verifyNotEnumerable(Object, "is"); +verifyConfigurable(Object, "is"); + +reportCompare(0, 0); |