Sign in
webkit
/
WebKit
/
b0d7f9b249dd6483d6c7bc4f13c440c0842b7127
/
.
/
JSTests
/
microbenchmarks
/
put-by-id-replace-and-transition.js
blob: 52cbb6ec2d7e2d6727c59cbf384d9034f20f24da [
file
] [
log
] [
blame
]
(
function
()
{
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
;
})();