PageRenderTime 4ms CodeModel.GetById 2ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/js/src/jit-test/tests/jaeger/bug662082.js

http://github.com/zpao/v8monkey
JavaScript | 11 lines | 10 code | 1 blank | 0 comment | 1 complexity | 61ba957320013459d4a2274762d1c13c MD5 | raw file
 1
 2function foo(z)
 3{
 4  var x = 2;
 5  if (z) {
 6    x = 2.5;
 7  }
 8  var y = x * 10;
 9  assertEq(y, 20);
10}
11foo(false);