diff --git a/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json b/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json index 1b48605dce..59235c24ea 100644 --- a/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json +++ b/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json @@ -273,9 +273,12 @@ "Create a new instance of the House constructor, calling it myHouse and passing a number of bedrooms. Then, use instanceof to verify that it is an instance of House." ], "challengeSeed": [ - "let House = function(numBedrooms) {", + "/* jshint expr: true */", + "", + "function House(numBedrooms) {", " this.numBedrooms = numBedrooms;", "}", + "", "// Add your code below this line", "", "",