repo.or.cz
/
qtwebkit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Update ReadMe.md
[qtwebkit.git]
/
JSTests
/
microbenchmarks
/
infer-constant-property.js
blob
9039d8f2e1fa8270d7b1fdf4183c6314b8b909ff
1
var o = {f:{f:{f:{f:{f:{f:{f:42}}}}}}};
2
(function() {
3
var n = 1000000;
4
var result = 0;
5
for (var i = 0; i < n; ++i)
6
result += o.f.f.f.f.f.f.f;
7
8
if (result != n * 42)
9
throw "Error: bad result: " + result;
10
})();