Sign in
webkit
/
WebKit
/
11eb14dbd76d8d03d540dd8285a36f1a3b897832
/
.
/
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
;
})();