Quote (carteblanche @ Jul 3 2016 11:48am)
the `new` keyword creates a new object. since your function is retrieving (possibly also creating) your object, the `new` keyword is not needed here. it's probably inside that function somewhere down the road.
there is no need to do that if you're assigning x to hold another object later prior to using it.
Thanks a ton man, that completely answers my question. Cheers