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 c1687c2a61..2706eae222 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
@@ -416,7 +416,8 @@
],
"tests": [
"assert(ownProps.includes('name'), 'message: The ownProps
array should include \"name\"
.');",
- "assert(prototypeProps.includes('numLegs'), 'message: The prototypeProps
array should include \"numLegs\"
.');"
+ "assert(prototypeProps.includes('numLegs'), 'message: The prototypeProps
array should include \"numLegs\"
.');",
+ "assert(!/\\Object.keys/.test(code), 'message: Solve this challenge without using the built in method Object.keys()
.');"
],
"solutions": [
"function Dog(name) {\n this.name = name;\n}\n\nDog.prototype.numLegs = 4;\n\nlet beagle = new Dog(\"Snoopy\");\n\nlet ownProps = [];\nlet prototypeProps = [];\nfor (let prop in beagle) {\n if (beagle.hasOwnProperty(prop)) {\n ownProps.push(prop);\n } else {\n prototypeProps.push(prop);\n }\n}"