Nov
          25
          2015
        Function Expressions
          By abernal          
              
       
    These are so called functions on the fly or anonymous functions, they are loaded at execution time
Syntax
var diffOfSquares = function (a, b) {
  return a*a - b*b;
}Executing a function expression
Sample