Section B.9. The function Statement Versus the function Expression
B.9. The function Statement Versus the function Expression
JavaScript has a function statement as well as
a function expression. This is confusing because
they can look exactly the same. A function
statement is shorthand for a var statement with a
function value.
The statement:
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.