Last active
August 29, 2015 14:16
-
-
Save codenamejason/becca26567a453f93bb5 to your computer and use it in GitHub Desktop.
Function Constructor
This file contains hidden or 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
this.prototype = { constructor: this }; | |
var myObject = maker(f, l, m, c, s); | |
var myObject = maker({ | |
first: f, | |
last: l, | |
middle: m, | |
state: s, | |
city: c | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment