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