Last active
May 10, 2019 19:39
-
-
Save LarrySul/fd96a0e5c76c2e2ba34fd1b1e23d1050 to your computer and use it in GitHub Desktop.
creating objects with the new keyword
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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