Sign in
webkit
/
WebKit
/
e5474a94048a955c0042149e8ac8a8d40148ea9a
/
.
/
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
);