diff --git a/challenges/01-front-end-development-certification/basic-javascript.json b/challenges/01-front-end-development-certification/basic-javascript.json index 321866fdc5..687502ab31 100644 --- a/challenges/01-front-end-development-certification/basic-javascript.json +++ b/challenges/01-front-end-development-certification/basic-javascript.json @@ -3141,9 +3141,9 @@ "There are two ways to access the properties of an object: the dot operator (.) and bracket notation ([]), similar to an array.", "The dot operator is what you use when you know the name of the property you're trying to access ahead of time.", "Here is a sample of using the dot operator (.) to read an object property:", - "
var myObj = {
prop1: \"val1\",
prop2: \"val2\"
};
myObj.prop1; // val1
myObj.prop2; // val2
", + "
var myObj = {
prop1: \"val1\",
prop2: \"val2\"
};
var prop1val = myObj.prop1; // val1
var prop2val = myObj.prop2; // val2
", "

Instructions

", - "Read the values of the properties hat and shirt of testObj using dot notation." + "Read in the property values of testObj using dot notation. Set the property hat to the variable hatValue and the property shirt to shirtValue." ], "releasedOn": "January 1, 2016", "challengeSeed": [