mirror of
https://github.com/tc39/test262.git
synced 2025-05-07 16:30:52 +02:00
- in-statement-position-label-statement.js is an Annex-B test (B.3.2 Labelled Function Declarations), moved to annexB directory - identifier-let-allowed-as-lefthandside-expression-strict.js needs to check for a SyntaxError (ES6, 12.1.1) - Remove sort() calls in test/built-ins/Object/getOwnPropertyNames/*.js - Remove sort() calls in test/language/block-scope/syntax/for-in/acquire-properties-from-*.js - verifyConfigurable() needs to called last in test/built-ins/Object/is/length.js - All productions within ClassBody are implicitly strict, update test/language/class/method-definition/yield-as-*.js accordingly - Remove unnecessary noStrict flag in test/language/class/method-definition/yield-as-generator-method-binding-identifier.js - Check own symbols are returned in property creation order from Object.getOwnPropertySymbols(): - test/language/computed-property-names/basics/symbol.js - test/language/computed-property-names/class/method/symbol.js - test/language/computed-property-names/class/static/method-symbol.js - test/language/computed-property-names/object/method/symbol.js - Fix copy-paste error in test/language/expressions/object/method-definition/yield-as-function-expression-binding-identifier.js
18 lines
497 B
JavaScript
18 lines
497 B
JavaScript
// 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(Object.is.length, 2, "The value of `Object.is.length` is `2`");
|
|
|
|
verifyNotEnumerable(Object.is, "length");
|
|
verifyNotWritable(Object.is, "length");
|
|
verifyConfigurable(Object.is, "length");
|