What is default timeout in setTimeout() method of JavaScript Window object?
javascript
Solution
The HTML5 `Timer` spec says:
5) Let timeout be the second method argument, or zero if the argument was omitted.
Problem
According to W3Schools timeout is required parameter. But it is possible to call it without timeout parameter. ``` function eventHandler(e) { var t = setTimeout(function () { clearTimeout(t); alert('Called'); }); } ```