blob: 90a297d25b1e06f26c51ce15927a43ff4b23bfec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
var gTestcases = new Array();
var gTc = gTestcases.length;
function TestCase( a) {
this.actual = a;
gTestcases[gTc++] = this;
}
function test() {
for ( gTc=0; gTc < gTestcases.length; gTc++ ) {
gTestcases[gTc].actual.toString()
}
}
function testOverwritingSparseHole() {
for (var i = 0; i < 50; i++)
new TestCase(eval("VAR1 = 0; VAR2 = -1; VAR1 %= VAR2; VAR1"));
}
testOverwritingSparseHole();
test();
JSON.stringify(this);
|