michael@0: if (typeof(gcPreserveCode) == "function") michael@0: gcPreserveCode(); michael@0: michael@0: function testStrict() { michael@0: var n = 10, a = []; michael@0: for (var i = 0; i < 10; ++i) { michael@0: a[0] = (gc()); michael@0: a[1] = (n !== 10); michael@0: a[0x2 ] = (n === null); michael@0: a[3] = (n == null); michael@0: } michael@0: return ; michael@0: } michael@0: testStrict();