What is the difference between a function expression vs declaration in JavaScript?
What is the difference between the following lines of code? What is a named/anonymous function expression? What is a declared function? How do browsers deal with these constructs differently? What do the responses to a similar question (var functionName = function() {} vs function functionName() {}) not get exactly right?