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