From c962c0c8e575cb9c80242fd507464aa422e1755e Mon Sep 17 00:00:00 2001 From: "Rafael D. Hernandez" Date: Sat, 27 Mar 2021 06:59:44 -0700 Subject: [PATCH] fix: wrap own properties and not just own (#41614) Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> --- .../object-oriented-programming/understand-own-properties.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-own-properties.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-own-properties.md index ea9ea2eb7a..b9d96a71ec 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-own-properties.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/understand-own-properties.md @@ -20,7 +20,7 @@ let duck = new Bird("Donald"); let canary = new Bird("Tweety"); ``` -`name` and `numLegs` are called `own` properties, because they are defined directly on the instance object. That means that `duck` and `canary` each has its own separate copy of these properties. In fact every instance of `Bird` will have its own copy of these properties. The following code adds all of the `own` properties of `duck` to the array `ownProps`: +`name` and `numLegs` are called own properties, because they are defined directly on the instance object. That means that `duck` and `canary` each has its own separate copy of these properties. In fact every instance of `Bird` will have its own copy of these properties. The following code adds all of the own properties of `duck` to the array `ownProps`: ```js let ownProps = []; @@ -38,7 +38,7 @@ The console would display the value `["name", "numLegs"]`. # --instructions-- -Add the `own` properties of `canary` to the array `ownProps`. +Add the own properties of `canary` to the array `ownProps`. # --hints--