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
Post a Comment