There are several JavaScript tricks that are used widely by experienced programmers. Many of them may not be instantly obvious, especially for beginners.
Source