diff --git a/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json b/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json
index 0244616b71..1cedf450f1 100644
--- a/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json
+++ b/challenges/02-javascript-algorithms-and-data-structures/basic-javascript.json
@@ -2625,7 +2625,7 @@
],
"tests": [
"assert(typeof timesFive === 'function', 'message: timesFive
should be a function');",
- "assert(code.match(/timesFive\\(\\s*\\d+\\s*\\)/g), 'message: function timesFive
should be called with a number');",
+ "assert(code.match(/timesFive\\(\\s*\\d+\\s*\\)/g), 'message: function timesFive
should be called with a number');",
"assert(timesFive(5) === 25, 'message: timesFive(5)
should return 25
');",
"assert(timesFive(2) === 10, 'message: timesFive(2)
should return 10
');",
"assert(timesFive(0) === 0, 'message: timesFive(0)
should return 0
');"
@@ -4198,11 +4198,11 @@
},
{
"id": "56533eb9ac21ba0edf2244c7",
- "title": "Accessing Object Properties with the Dot Operator",
+ "title": "Accessing Object Properties with Dot Notation",
"description": [
- "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's property:",
+ "There are two ways to access the properties of an object: dot notation (.
) and bracket notation ([]
), similar to an array.",
+ "Dot notation 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 dot notation (.
) to read an object's property:",
"
var myObj = {", "
prop1: \"val1\",
prop2: \"val2\"
};
var prop1val = myObj.prop1; // val1
var prop2val = myObj.prop2; // val2
testObj
using dot notation. Set the variable hatValue
equal to the object's property hat
and set the variable shirtValue
equal to the object's property shirt
."