Sign in
webkit
/
WebKit
/
11eb14dbd76d8d03d540dd8285a36f1a3b897832
/
.
/
JSTests
/
microbenchmarks
/
put-by-val-with-string-replace-and-transition.js
blob: 7b2337c943d4bca168d94610007b1d808c8ed9ac [
file
] [
log
] [
blame
]
(
function
()
{
var
f
=
"f"
,
g
=
"g"
;
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
];
})();