From eac6a1b9afcc9b683df039cfbf502cb6a3e5e8ee Mon Sep 17 00:00:00 2001 From: packagespace Date: Sat, 9 Jul 2022 20:42:04 +0200 Subject: [PATCH] Removed missing data from challenge text (#46832) Removed false information from challenge text --- ...e-through-the-keys-of-an-object-with-a-for...in-statement.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md index e19d8671c0f..a872afef70a 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-data-structures/iterate-through-the-keys-of-an-object-with-a-for...in-statement.md @@ -16,7 +16,7 @@ for (let user in users) { } ``` -This would log `Alan`, `Jeff`, `Sarah`, and `Ryan` - each value on its own line. +This would log `Alan`, `Jeff`, and `Sarah` - each value on its own line. In this statement, we defined a variable `user`, and as you can see, this variable was reset during each iteration to each of the object's keys as the statement looped through the object, resulting in each user's name being printed to the console.