Sign in
webkit
/
WebKit
/
e1a82001cfdab62c438e943f37ce20f74c8e0820
/
.
/
JSTests
/
microbenchmarks
/
put-by-val-with-symbol-replace-and-transition.js
blob: ca6a23bb983702a3080569691d2cb1e9f0776f70 [
file
] [
log
] [
blame
]
(
function
()
{
var
f
=
Symbol
(),
g
=
Symbol
();
var
o
;
var
n
=
1000000
;
for
(
var
i
=
0
;
i
<
n
;
++
i
)
{
if
(
i
&
1
)
o
=
{[
f
]:
1
};
else
o
=
{[
f
]:
1
,
[
g
]:
2
};
o
[
g
]
=
i
;
}
if
(
o
[
g
]
!=
n
-
1
)
throw
"Error: bad value of o.g: "
+
o
[
g
];
})();