| 1 |
// Copyright (C) 2015 the V8 project authors. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
/*--- |
| 4 |
es6id: 19.1.2.10 |
| 5 |
description: > |
| 6 |
Object.is ( value1, value2 ) |
| 7 |
|
| 8 |
17 ECMAScript Standard Built-in Objects |
| 9 |
|
| 10 |
includes: [propertyHelper.js] |
| 11 |
---*/ |
| 12 |
|
| 13 |
|
| 14 |
assert.sameValue(typeof Object.is, "function"); |
| 15 |
assert.sameValue(Object.is.name, "is"); |
| 16 |
|
| 17 |
verifyWritable(Object, "is"); |
| 18 |
verifyNotEnumerable(Object, "is"); |
| 19 |
verifyConfigurable(Object, "is"); |