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