add(a,b) and a.add(b) <p>how can i transform a method (that performs a+b and returns the result) from add(a,b) to a.add(b)?<br> i read this somewhere and i can't remember what is the technique called...<br> does it depends on the language? </p> <p>is this possible in javascript?</p>