Question: which one of the following is anonymous function?
Answer: "An anonymous function is a function without a name." ... For example, consider the following ways of declaring a function: //Example 1 function bob() { ... } bob(); //Example 2 var bob = function(){ ... }; bob();