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