Sign in
webkit
/
WebKit
/
14cb98a360e661c1b39a648e8ccc3be2e2757789
/
.
/
JSTests
/
stress
/
class-fields-bytecode-cache.js
blob: 8c61c74c48e877d4ac06fe7dc1f41a5f9e02f4a8 [
file
] [
log
] [
blame
]
function
assert
(
a
,
e
)
{
if
(
a
!==
e
)
throw
new
Erro
(
"Expected: "
+
e
+
" but got: "
+
a
);
}
class
C
{
foo
()
{
return
this
.
f
;
}
f
=
15
;
}
let c
=
new
C
();
let r
=
c
.
foo
();
assert
(
r
,
15
);