I know it is a wired question but I want to make this syntax to work in javascript:
var a = (5).plus(3).minus(6); //2
Inspired from: http://dmitry.baranovskiy.com/post/31797647
I have checked the Answer on SO but not getting any idea for dot(.
) in the syntax.