From 7ae6577cda0a137069f98c4d210df705c1c19453 Mon Sep 17 00:00:00 2001 From: John Sprunger Date: Tue, 5 Feb 2019 10:37:17 -0500 Subject: [PATCH] Change for second test case (#34785) Original: "Your code should create a method in Bird called getWeight that returns the weight". New: "Your code should create a method in Bird called getWeight that returns the weight 15". Since 15 is the only current passing value I feel it should be plainly stated instead in the test case. --- ...s-within-an-object-from-being-modified-externally.english.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-closure-to-protect-properties-within-an-object-from-being-modified-externally.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-closure-to-protect-properties-within-an-object-from-being-modified-externally.english.md index 87bbb518e0..716cc7eab4 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-closure-to-protect-properties-within-an-object-from-being-modified-externally.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/object-oriented-programming/use-closure-to-protect-properties-within-an-object-from-being-modified-externally.english.md @@ -16,7 +16,7 @@ Here getHachedEggCount is a privileged method, because it has acces ## Instructions
-Change how weight is declared in the Bird function so it is a private variable. Then, create a method getWeight that returns the value of weight. +Change how weight is declared in the Bird function so it is a private variable. Then, create a method getWeight that returns the value of weight 15.
## Tests