I'm fairly new to JavaScript, and just getting into objects. I'm curious if there's any reason (aside from potential readability) why one would use constructor notation to make an object instead of literal notation.
As I understand it this (literal):
var obj = {};
...is the same as this (constructor):
var obj = new Object();
Literal seems far more compact, but constructor looks a bit clearer for others reading through. Is there another reason I haven't yet come across why one may be superior to the other?
Thanks!