Functions are the workhorses of JavaScript, performing most tasks that need to be done more than once. Functions are also “first-class citizens” of JavaScript; they’re also objects, and can be assigned to variables.




From it’s extremely humble beginnings – the original specification was created in just 10 days in May 1995 by Brendan Eich – JavaScript has become a top-tier programming language, equally at home on the browser as it is on embedded devices.
The popularity of JavaScript has spawned a vast and confusing array of related technologies, knowledge of which can quickly overwhelm the new coder. For this reason – and because its best to start with the basics – this reading list concentrates on pure JavaScript as it is available today, including the latest, powerful enhancements.