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