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

/js/src/jit-test/tests/jaeger/globalOptimize-2.js

http://github.com/zpao/v8monkey
JavaScript | 10 lines | 9 code | 1 blank | 0 comment | 0 complexity | 6b1ea6264a93f940a5de584bf3ffdd6d MD5 | raw file
 1
 2x = 30;
 3function foo() {
 4  assertEq(x, 30);
 5  delete x;
 6  y = 20;
 7  Object.defineProperty(this, 'x', {value:10});
 8  assertEq(x, 10);
 9}
10foo();