Sign in
webkit
/
WebKit
/
919aeb989a73073e2f1d75e53d7d882b3cc61ca8
/
.
/
JSTests
/
stress
/
class-fields-private-use-eval.js
blob: 8d4d2ea2ea0dda6d6844bdc5a53caf7c7db416de [
file
] [
log
] [
blame
]
function
assert
(
a
,
message
)
{
if
(!
a
)
throw
new
Error
(
message
);
}
let inst
=
new
class
{
a
=
eval
(
"(i) => i.#b"
);
#
b
=
{};
};
inst
.
a
(
inst
).
x
=
1
;
assert
(
inst
.
a
(
inst
).
x
==
1
);