PASS: setTimeout("STRING", 0) works. | |
PASS: setInterval("STRING", 0) works. | |
PASS: setTimeout(String("STRING"), 0) works. | |
PASS: setInterval(String("STRING"), 0) works. | |
PASS: setTimeout({toString:function(){}}, 0) works. | |
PASS: setInterval({toString:function(){}}, 0) works. | |
PASS: setTimeout({ toString : function() { throw "Exception"; } }, 0) correctly threw an exception. | |
PASS: setInterval({ toString : function() { throw "Exception"; } }, 0) correctly threw an exception. | |
PASS: All tests passed. | |