mirror of
https://github.com/tc39/test262.git
synced 2025-10-03 15:08:48 +02:00
16 lines
386 B
Plaintext
16 lines
386 B
Plaintext
// Copyright (C) 2017 Valerie Young. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
/*---
|
|
esid: sec-class-definitions-static-semantics-early-errors
|
|
path: language/expressions/class/fields-equality-
|
|
name: equality expression
|
|
features: [class, class-fields-public]
|
|
---*/
|
|
|
|
$DONOTEVALUATE();
|
|
|
|
var C = class {
|
|
x = {} == /*{ initializer }*/;
|
|
}
|