From 37e8d0b75767445375d26dcddc61dc362f9e39cd Mon Sep 17 00:00:00 2001 From: "Rafael D. Hernandez" Date: Wed, 31 Mar 2021 01:18:37 -0700 Subject: [PATCH] fix/ownProps (#41686) related issue:#4114 --- .../iterate-over-all-properties.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/iterate-over-all-properties.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/iterate-over-all-properties.md index e41a97d36f..a30165e632 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/iterate-over-all-properties.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/iterate-over-all-properties.md @@ -8,7 +8,7 @@ dashedName: iterate-over-all-properties # --description-- -You have now seen two kinds of properties: `own` properties and `prototype` properties. `Own` properties are defined directly on the object instance itself. And `prototype` properties are defined on the `prototype`. +You have now seen two kinds of properties: own properties and `prototype` properties. Own properties are defined directly on the object instance itself. And `prototype` properties are defined on the `prototype`. ```js function Bird(name) { @@ -20,7 +20,7 @@ Bird.prototype.numLegs = 2; // prototype property let duck = new Bird("Donald"); ``` -Here is how you add `duck`'s `own` properties to the array `ownProps` and `prototype` properties to the array `prototypeProps`: +Here is how you add `duck`'s own properties to the array `ownProps` and `prototype` properties to the array `prototypeProps`: ```js let ownProps = []; @@ -42,7 +42,7 @@ console.log(prototypeProps); # --instructions-- -Add all of the `own` properties of `beagle` to the array `ownProps`. Add all of the `prototype` properties of `Dog` to the array `prototypeProps`. +Add all of the own properties of `beagle` to the array `ownProps`. Add all of the `prototype` properties of `Dog` to the array `prototypeProps`. # --hints--