From 854690b33e10b3c5096978869696bc58949db99e Mon Sep 17 00:00:00 2001 From: Steve Beecheno <89223612+Hacktinium@users.noreply.github.com> Date: Tue, 28 Feb 2023 00:13:45 +0000 Subject: [PATCH] fix(curriculum): removed confusing sentence (#49538) fix(curriculum): removed confusing sentance ```diff # --description-- ... - Nearly every object in JavaScript has a `prototype` property which is part of the constructor function that created it. ``` --- .../use-prototype-properties-to-reduce-duplicate-code.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-prototype-properties-to-reduce-duplicate-code.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-prototype-properties-to-reduce-duplicate-code.md index 7d18dd43b96..99a1f8a80cb 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-prototype-properties-to-reduce-duplicate-code.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-prototype-properties-to-reduce-duplicate-code.md @@ -25,7 +25,7 @@ console.log(duck.numLegs); console.log(canary.numLegs); ``` -Since all instances automatically have the properties on the `prototype`, think of a `prototype` as a "recipe" for creating objects. Note that the `prototype` for `duck` and `canary` is part of the `Bird` constructor as `Bird.prototype`. Nearly every object in JavaScript has a `prototype` property which is part of the constructor function that created it. +Since all instances automatically have the properties on the `prototype`, think of a `prototype` as a "recipe" for creating objects. Note that the `prototype` for `duck` and `canary` is part of the `Bird` constructor as `Bird.prototype`. # --instructions--