Sign in
cobalt
/
cobalt
/
3dc8b3855f2b32702936add58a952cac6687ac3d
/
.
/
third_party
/
v8
/
test
/
message
/
fail
/
class-fields-private-throw-write.js
blob: 1c51b1a6fdfedf1a855da16ca1abbc76b66880d4 [
file
] [
log
] [
blame
]
// Copyright 2018 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
class
X
{
#
x
;
setX
(
o
,
val
)
{
o
.#
x
=
val
;
}
}
new
X
().
setX
({},
1
);