Sign in
webkit
/
WebKit
/
49c45f529348e27f11122daecbee33e4fa730919
/
.
/
JSTests
/
microbenchmarks
/
put-private-field.js
blob: 5d3f8769b2863fe58cff8f05681495d2c1fefeda [
file
] [
log
] [
blame
]
class
C
{
#
field
;
setField
(
value
)
{
this
.#
field
=
value
;
}
}
noInline
(
C
.
prototype
.
setField
);
let c
=
new
C
();
for
(
let i
=
0
;
i
<
5000000
;
i
++)
{
c
.
setField
(
i
);
}