Sign in
webkit
/
WebKit
/
60c3f717a9141a0f8afd6e8437d26c6404e4424c
/
.
/
JSTests
/
stress
/
class-fields-private-cached-bytecode.js
blob: 68928df31076bef840ecfb8f981e3e2a17790e30 [
file
] [
log
] [
blame
]
function
assert
(
a
,
e
)
{
if
(
a
!==
e
)
throw
new
Error
(
"Expected: "
+
e
+
" but got: "
+
a
);
}
class
C
{
#
f
=
3
;
method
()
{
return
this
.#
f
;
}
}
let c
=
new
C
();
assert
(
c
.
method
(),
3
);