From 71435e6b7e833b2342d44eba88f12599319393af Mon Sep 17 00:00:00 2001 From: Aryan Jabbari Date: Wed, 28 Oct 2015 23:55:38 -0400 Subject: [PATCH] Allude to 'this' keyword as suggested by @ParkinT @ParkinT suggested the ```this``` keyword be alluded to in the lesson. Closes #3899 --- .../challenges/object-oriented-and-functional-programming.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/seed/challenges/object-oriented-and-functional-programming.json b/seed/challenges/object-oriented-and-functional-programming.json index 46b02355a2fd87..95c6d73b85692c 100644 --- a/seed/challenges/object-oriented-and-functional-programming.json +++ b/seed/challenges/object-oriented-and-functional-programming.json @@ -58,7 +58,8 @@ "  this.engines = 1;", "  this.seats = 1;", "};", - "Give your myMotorBike 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.", + "You may be confused by the this keyword here. Don't worry, we will get to that very soon." ], "tests":[ "assert(typeof((new MotorBike()).engines) === 'number', 'message: myMotorBike should have a engines attribute set to a number.');",