From 665c9cb47f63712a7f9dca55258002d9ab79ce89 Mon Sep 17 00:00:00 2001 From: Aditya Date: Tue, 26 Feb 2019 08:54:06 +0530 Subject: [PATCH] fix: Object Oriented Programming: Use Dot Notation to Access the Properties of an Object (#34675) * fix: typos * fix: removed unnecessary assert message --- ...ation-to-access-the-properties-of-an-object.english.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-dot-notation-to-access-the-properties-of-an-object.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-dot-notation-to-access-the-properties-of-an-object.english.md index e6f4d38824..54e63f9242 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-dot-notation-to-access-the-properties-of-an-object.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-dot-notation-to-access-the-properties-of-an-object.english.md @@ -21,10 +21,10 @@ Print both properties of the dog object below to your ```yml tests: - - text: Your should use console.log to print the value for the name property of the dog object. - testString: assert(/console.log\(.*dog\.name.*\)/g.test(code), 'Your should use console.log to print the value for the name property of the dog object.'); - - text: Your should use console.log to print the value for the numLegs property of the dog object. - testString: assert(/console.log\(.*dog\.numLegs.*\)/g.test(code), 'Your should use console.log to print the value for the numLegs property of the dog object.'); + - text: Your code should use console.log to print the value for the name property of the dog object. + testString: assert(/console.log\(.*dog\.name.*\)/g.test(code)); + - text: Your code should use console.log to print the value for the numLegs property of the dog object. + testString: assert(/console.log\(.*dog\.numLegs.*\)/g.test(code)); ```