Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / js / regress / script-tests / inline-arguments-access.js
blob2536d071564473619028354fda86c45537530f0c
1 function foo() {
2 return arguments[0] + arguments[1] + arguments[2];
5 function bar(a, b, c) {
6 return foo(b, c, 42);
9 for (var i = 0; i < 200000; ++i) {
10 var result = bar(1, 2, 3);
11 if (result != 47)
12 throw "Bad result: " + result;