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
// Create a function called MakePerson which takes in name, birthday, ssn as its parameters and returns a new object with all of the information that you passed in. | |
function MakePerson(name, bday, ssn) { | |
var person = {}; | |
person.name = name; | |
person.bday = bday; | |
person.ssn = ssn; | |
return person; | |
}; |