More than one round bracket in function call javascript code example
Example: Two sets of parentheses after function call
function add(x){
return function(y){
return x + y;
};
}
var addTwo = add(2);
addTwo(4) === 6; // true
add(3)(4) === 7; // true