Skip to content

Instantly share code, notes, and snippets.

@LarrySul
Last active May 10, 2019 19:39
Show Gist options
  • Save LarrySul/fd96a0e5c76c2e2ba34fd1b1e23d1050 to your computer and use it in GitHub Desktop.
Save LarrySul/fd96a0e5c76c2e2ba34fd1b1e23d1050 to your computer and use it in GitHub Desktop.
creating objects with the new keyword
var person = new Object();
person.firstName = "Amatare";
person.lastName = "Kripsy";
person.age = 25;
person.maritalStatus = "Dating";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment