/js/src/jit-test/tests/jaeger/bug619433-2.js
http://github.com/zpao/v8monkey · JavaScript · 10 lines · 9 code · 1 blank · 0 comment · 1 complexity · f319ca63ac13e22ee920fc10e1dc26fc MD5 · raw file
- function foo(x) {
- var y = 2.5;
- y = -x;
- var z = [1,2,y];
- return x + 5;
- }
- for (var i = 0; i < 20; i++)
- foo(i);
- assertEq(foo(20), 25);