diff --git a/seed/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json b/seed/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json index c091f47dd71..3cb30337931 100644 --- a/seed/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json +++ b/seed/challenges/02-javascript-algorithms-and-data-structures/object-oriented-programming.json @@ -900,7 +900,7 @@ "id": "587d7db2367417b2b2512b8a", "title": "Use Closure to Protect Properties Within an Object from Being Modified Externally", "description": [ - "In the previous challenge, bird had a public property name. It is considered public because it can be accessed and changed outside of bird definition.", + "In the previous challenge, bird had a public property name. It is considered public because it can be accessed and changed outside of bird's definition.", "
bird.name = \"Duffy\";
", "Therefore, any part of your code can easily change the name of bird to any value. Think about things like passwords and bank accounts being easily changeable by any part of your codebase. That could cause a lot of issues.", "The simplest way to make properties private is by creating a variable within the constructor function. This changes the scope of that variable to be within the constructor function versus available globally. This way, the property can only be accessed and changed by methods also within the constructor function.", @@ -992,4 +992,4 @@ "translations": {} } ] -} \ No newline at end of file +}