Ticket #8003: 8003_TC.patch
File 8003_TC.patch, 630 bytes (added by , 13 years ago) |
---|
-
trunk/test/test.js
319 319 320 320 [ "do{}while(1)" ], 321 321 322 [ "do{}while(1)A();", "do{}while(1);A();" ] 323 ]; 322 [ "do{}while(1)A();", "do{}while(1);A();" ], 324 323 324 // Test local variable shorten doesn't conflict with global. 325 [ "( function() { var local; a=1; } )(); ", "(function(){var b;a=1;" ], 326 327 // Test variable declare comes after init. 328 [ "( function() { b=1; var b2; } )(); ", "(function(){a=1;var a;})();" ] ]; 329 325 330 var tests = 326 331 { 327 332 };