From a2eaba18622ae699f5526236d6641f8fe96cf506 Mon Sep 17 00:00:00 2001 From: Shashank Nayak <42777391+shashanknayak12@users.noreply.github.com> Date: Fri, 25 Oct 2024 19:58:33 +0530 Subject: [PATCH] fix(curriculum): remove semicolon from iteration example (#56846) --- .../660f1b6e60bd9edf902c81fd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f1b6e60bd9edf902c81fd.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f1b6e60bd9edf902c81fd.md index f22f7b97dd8..5bf118d99f3 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f1b6e60bd9edf902c81fd.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f1b6e60bd9edf902c81fd.md @@ -9,7 +9,7 @@ dashedName: step-36 Your iteration statement will tell your loop what to do with the iterator after each run. -When you reassign a variable, you can use the variable to reference the previous value before the reassignment. This allows you to do things like add three to an existing number. For example, `bees = bees + 3;` would increase the value of `bees` by three. +When you reassign a variable, you can use the variable to reference the previous value before the reassignment. This allows you to do things like add three to an existing number. For example, `bees = bees + 3` would increase the value of `bees` by three. Use that syntax to replace your `"iteration"` string with a reassignment statement that increases `i` by one.