From 23a12b816aa863a52a7e2c93cc5f8cb28b2bf456 Mon Sep 17 00:00:00 2001 From: Logan Tegman Date: Thu, 12 Nov 2015 08:27:00 -0800 Subject: [PATCH] Fix Make Instances With Contructor Typo Closes #4324 --- challenges/object-oriented-and-functional-programming.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/challenges/object-oriented-and-functional-programming.json b/challenges/object-oriented-and-functional-programming.json index 178ab1016d..20dc89a4a9 100644 --- a/challenges/object-oriented-and-functional-programming.json +++ b/challenges/object-oriented-and-functional-programming.json @@ -115,7 +115,7 @@ "}", "Note that it is important to use the new keyword when calling a constructor. This is how javascript knows to create a new object and that all the references to this inside the constructor should be referring to this new object.", "Now, once the myCar instance is created it can be used like any other object and can have its properties accessed and modified the same way you would usually. For example:", - "var myCar.turboType = \"twin\";", + "myCar.turboType = \"twin\";", "Our myCar variable now has a property turboType with a value of \"twin\".", "In the editor, use the Car constructor to create a new instance and assign it to myCar.", "Then give myCar a nickname property with a string value."