fix(guide): simplify directory structure

This commit is contained in:
Mrugesh Mohapatra
2018-10-16 21:26:13 +05:30
parent f989c28c52
commit da0df12ab7
35752 changed files with 0 additions and 317652 deletions

View File

@ -0,0 +1,22 @@
---
title: Window clearTimeout Method
---
## Window clearTimeout Method
The 'clearTimeout()' method is used stop a timer set with the 'setTimeout()' method.
```js
clearTimeout(setTimeout_ID);
```
If the 'clearTimeout()' method is called before the timer has finished counting, the 'clearTimeout()' method will stop the 'setTimeout()' method from executing.
To be able to use the 'clearTimeout()' method, you must use a global variable. See the example below
```js
myID = setTimeout(function, milliseconds);
```
#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->
Documentation: <a href='https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/clearTimeout' target='_blank' rel='nofollow'>MDN</a>