Sign in
webkit
/
WebKit
/
36234e633907e0345e06a39a886b5b9fff0ba3fe
/
.
/
JSTests
/
microbenchmarks
/
infer-constant-property.js
blob: 9039d8f2e1fa8270d7b1fdf4183c6314b8b909ff [
file
] [
log
] [
blame
]
var
o
=
{
f
:{
f
:{
f
:{
f
:{
f
:{
f
:{
f
:
42
}}}}}}};
(
function
()
{
var
n
=
1000000
;
var
result
=
0
;
for
(
var
i
=
0
;
i
<
n
;
++
i
)
result
+=
o
.
f
.
f
.
f
.
f
.
f
.
f
.
f
;
if
(
result
!=
n
*
42
)
throw
"Error: bad result: "
+
result
;
})();