Similar Questions:
Creating Objects - New Object or Object Literal Notation?
Literal Notation VS. Constructor to Create Objects in JavaScript
As I embark on my initial Javascript tutorial journey, I have come across two distinct methods of creating a JS object.
var person = new Object();
person.name = "Tom";
person.age = "17";
and
var person = {};
person.name = "Tom";
person.age = "17"
Is there any dissimilarity between these two approaches to object creation? Given that the second method seems more straightforward, can it be used universally under all circumstances?