I can explain the difference between function declarations and function expressions.
-- Yep! A function declaration is parsed through by JS and hoisted to the top. It can actually be located at the bottom of the file, but able to be used and referenced beforehand due to hoisting. A function expression is more akin to a typical Ruby variable, it's name is hoisted to the top by not defined until the function expression is actually run.
I can explain what the value of this
is in a normal function.
-- Global window.