Sign in
webkit
/
WebKit
/
45f8a35257b644c061636b95263bf1ab0e6f8aa3
/
.
/
JSTests
/
stress
/
class-fields-stress-instance.js
blob: 56624fbeedbb028b94e0d6e611fe49936d25258f [
file
] [
log
] [
blame
]
//@ requireOptions("--useClassFields=true")
class
A
{
a
=
0
;
b
=
1
;
e
=
function
()
{
return
0
;
};
[
"g"
]
=
0
;
h
=
eval
(
"true"
);
}
for
(
var
i
=
0
;
i
<
10000
;
i
++)
new
A
();
fullGC
();
for
(
var
i
=
0
;
i
<
10000
;
i
++)
new
A
();