diff --git a/challenges/object-oriented-and-functional-programming.json b/challenges/object-oriented-and-functional-programming.json
index 9f0aeed7e2a..2b89e9f6c0b 100644
--- a/challenges/object-oriented-and-functional-programming.json
+++ b/challenges/object-oriented-and-functional-programming.json
@@ -20,9 +20,9 @@
"Give your motorBike object a wheels, engines and seats attribute and set them to numbers."
],
"tests":[
- "assert(typeof(motorBike.engines) === 'number', 'engines should be have a engines attribute set to a number.');",
- "assert(typeof(motorBike.wheels) === 'number', 'wheels should be have a engines attribute set to a number.');",
- "assert(typeof(motorBike.seats) === 'number', 'seats should be have a engines attribute set to a number.');"
+ "assert(typeof(motorBike.engines) === 'number', 'motorBike should have a engines attribute set to a number.');",
+ "assert(typeof(motorBike.wheels) === 'number', 'motorBike should have a wheels attribute set to a number.');",
+ "assert(typeof(motorBike.seats) === 'number', 'motorBike should have a seats attribute set to a number.');"
],
"challengeSeed":[
"//Here is a sample Object",
@@ -54,12 +54,12 @@
"difficulty":0,
"description":[
"We are also able to create objects using constructor functions.",
- "Give your motorBike object a wheels, engines and seats attribute and set them to numbers."
+ "Give your myMotorBike object a wheels, engines and seats attribute and set them to numbers."
],
"tests":[
- "assert(typeof((new MotorBike()).engines) === 'number', 'engines should be have a engines attribute set to a number.');",
- "assert(typeof((new MotorBike()).wheels) === 'number', 'wheels should be have a engines attribute set to a number.');",
- "assert(typeof((new MotorBike()).seats) === 'number', 'seats should be have a engines attribute set to a number.');"
+ "assert(typeof((new MotorBike()).engines) === 'number', 'myMotorBike should have a engines attribute set to a number.');",
+ "assert(typeof((new MotorBike()).wheels) === 'number', 'myMotorBike should have a wheels attribute set to a number.');",
+ "assert(typeof((new MotorBike()).seats) === 'number', 'myMotorBike should have a seats attribute set to a number.');"
],
"challengeSeed":[
"// Let's add the properties engines and seats to the car in the same way that the property wheels has been added below. They should both be numbers.",