This commit is contained in:
terakilobyte
2015-04-24 16:04:25 -04:00
parent 096edd553b
commit eaf81fd3f7

View File

@ -644,7 +644,8 @@
"difficulty": "3.12", "difficulty": "3.12",
"description": [ "description": [
"Fill in the object constructor with the methods specified in the tests.", "Fill in the object constructor with the methods specified in the tests.",
"Those methods are getFirstName(), getLastName(), getFullName(), setFirstName(), setLastName(), and setFullName().", "Those methods are getFirstName(), getLastName(), getFullName(), setFirstName(first), setLastName(last), and setFullName(firstAndLast).",
"All functions that take an argument have an arity of 1, and the argument will be a string.",
"These methods must be the only available means for interacting with the object." "These methods must be the only available means for interacting with the object."
], ],
"challengeSeed": "var Person = function(firstAndLast) {\n return firstAndLast;\r\n};\n\nvar bob = new Person('Bob Ross');\nbob.getFullName();", "challengeSeed": "var Person = function(firstAndLast) {\n return firstAndLast;\r\n};\n\nvar bob = new Person('Bob Ross');\nbob.getFullName();",