fix(challenge): Format challengeSeed to encourage best practices.

* By re-formatting the seed a bit, I hope to help campers complete
their object definitions before they instantiate anything from them.
This commit is contained in:
Samuel Plumppu
2017-02-04 00:51:03 +01:00
parent 41e00fbf13
commit 24a08c7190

View File

@ -346,11 +346,10 @@
" this.name = name;", " this.name = name;",
"}", "}",
"", "",
"let beagle = new Dog(\"Snoopy\");",
"// Add your code below this line",
"", "",
"", "",
"" "// Add your code above this line",
"let beagle = new Dog(\"Snoopy\");"
], ],
"tests": [ "tests": [
"assert(beagle.numLegs !== undefined, 'message: <code>beagle</code> should have a <code>numLegs</code> property.');", "assert(beagle.numLegs !== undefined, 'message: <code>beagle</code> should have a <code>numLegs</code> property.');",