implement a sum method to make it behave as follows
sum(2,3).valueOf() //5
sum(2,3,4).valueOf() //9
sum(2,3)(4).valueOf() //9
sum(2,3,4)(2)(3,4).valueOf() //18
the previous parts sum ()
, sum () ()
are easy to say. But how do you rewrite valueOf to print the sum of the data returned by the previous execution method?