blob: b85ddd743fc52e92a8ea7647f4bd7fed96aea2d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
function testUnaryImacros() {
function checkArg(x) {
o = {
valueOf: checkArg
}
}
var v = 0;
v += +toString;
for (var i = 0; i;) {
v += [].checkArg.checkArg;
}
}(testUnaryImacros(), "valueOf passed, toString passed");
|