From 918e1a473dcfb728a388c16706eff8f88daec500 Mon Sep 17 00:00:00 2001 From: Ethan Hancock Date: Fri, 26 Apr 2024 01:26:37 -0500 Subject: [PATCH] fix(curriculum): update description and hint for js pyramid project (#54538) Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> --- .../660f0c34aad72dc712b97624.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f0c34aad72dc712b97624.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f0c34aad72dc712b97624.md index b7b3c498a93..8dcc1ecf288 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f0c34aad72dc712b97624.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f0c34aad72dc712b97624.md @@ -11,17 +11,17 @@ Another method essential for this project is the `.pop()` method. It removes the When a method returns a value, you can think of it as giving the value back to you, making it available for use in other parts of your code. -Declare a `popped` variable, and assign it the result of `rows.pop()`. Then, log your `popped` variable. +Create a new variable called `popped` and assign it the result of `rows.pop()`. Then, log `popped` to the console. # --hints-- -You should declare a `popped` variable. +You should declare a variable called `popped`. ```js assert.match(code, /popped/); ``` -You should use `let` to declare your `popped` variable. +You should use `let` to declare your variable called `popped`. ```js assert.match(code, /let\s+popped/);