A collection of documentation about the most quirky parts of the JavaScript language.
CSS JavaScript Shell
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 254 commits behind BonsaiDen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


JavaScript Garden

JavaScript Garden is a growing collection of documentation about the most quirky parts of the JavaScript programming language. It gives advice to avoid common mistakes, subtle bugs, as well as performance issues and bad practices that non-expert JavaScript programmers may encounter on their endeavours into the depths of the language.

JavaScript Garden does not aim to teach you JavaScript. Former knowledge of the language is strongly recommended in order to understand the topics covered in this guide. In order to learn the basics of the language, please head over to the excellent guide on the Mozilla Developer Network.

The authors

This guide is the work of two lovely Stack Overflow users, Ivo Wetzel (Original English Language Version) and Zhang Yi Jiang (Design), and many others who've worked hard to provide translations or fixes.

It's currently maintained by Tim Ruffles.


Please submit fixes and translations as pull requests.


JavaScript Garden is published under the MIT license and hosted on GitHub. If you find errors or typos please file an issue or a pull request on the repository. You can also find us in the JavaScript room on Stack Overflow chat.