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 c091f47dd71..f93248b653a 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",
"",
"",
@@ -992,4 +995,4 @@
"translations": {}
}
]
-}
\ No newline at end of file
+}