April 2015
Beginner
320 pages
7h 43m
English
In JavaScript the two most common ways to define functions are by using function declarations and function expressions. A function declaration looks like this:
function myFunction(){}
...whereas a function expression looks like this:
var myFunction = function(){};
Throughout this book I have defined functions using function declarations rather than function expressions. I’ve done so because:
This is a book for beginners. Wherever there are two or more possible approaches to doing something in JavaScript, I’ve endeavored to present only the simplest approach so that beginners are not overwhelmed ...
Read now
Unlock full access