Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / regress / script-tests / inline-get-scoped-var.js
blobeeed5167d5dd5bae7c45975b127996231f87c16c
1 function foo(x) {
2 function bar(y) {
3 return x + y;
6 var result = 0;
7 for (var i = 0; i < 2000000; ++i)
8 result = bar(1);
10 return result;
13 var result = foo(5);
14 if (result != 6)
15 throw "Bad result: " + result;