In the middle of this page, I find the code below.
var plus = function(x,y){ return x + y }; var minus = function(x,y){ return x - y }; var operations = { \'+
here operations is an object where the symbols + and - refers to two functions.
operations
+
-
operations[operation] will return a reference to function plus where value of operation is + and then the following () will invoke the function
operations[operation]
plus
operation
()