I want to make this syntax possible:
var a = add(2)(3); //5
based on what I read at http://dmitry.baranovskiy.com/post/31797647
I\
Simply we can write a function like this
function sum(x){ return function(y){ return function(z){ return x+y+z; } } } sum(2)(3)(4)//Output->9