PageRenderTime 20ms CodeModel.GetById 14ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/js/src/jit-test/tests/basic/bug633409-2.js

http://github.com/zpao/v8monkey
JavaScript | 13 lines | 7 code | 4 blank | 2 comment | 2 complexity | a33280f64d1542a5e563553231da58ee MD5 | raw file
 1// vim: set ts=4 sw=4 tw=99 et:
 2
 3var o1 = {p1: 1};
 4var o2 = {p1: 1, p2: 2};
 5
 6for(var x in o1) {
 7    for(var y in o2) {
 8        delete o2.p2;
 9    }
10}
11
12/* Don't fail cx->enumerators == obj assert, see bug comment #31 */
13