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");