How to use Javascript as OOPS for beginner

From what I understand of best practices in the JS world, one should not use the new keyword very often.For this example, I would suggest this as an alternate approach:Create a new script file arithmetic.jsvar Arithmetic = function(){ var obj = { add: function(a,b) { return a +...

From what I understand of best practices in the JS world, one should not use the new keyword very often.