What is default timeout in setTimeout() method of JavaScript Window object? -


according w3schools timeout required parameter. possible call without timeout parameter.

function eventhandler(e) {     var t = settimeout(function () {         //cleartimeout(t);         alert('called');     }); } 

the html5 timer spec says:

5) let timeout second method argument, or 0 if argument omitted.


Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -