diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f374d532dc41189cc9cc2.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f374d532dc41189cc9cc2.md index 57110b715a9..37487b1771c 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f374d532dc41189cc9cc2.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f374d532dc41189cc9cc2.md @@ -23,13 +23,7 @@ Open up the console to see the result. # --hints-- -You should call `.repeat()` on your two `" "` strings. - -```js -assert.lengthOf(code.match(/" ".repeat/g), 2); -``` - -Your `" "` strings should be repeated `rowCount - rowNumber` times. +You should call `.repeat()` on your `" "` strings to repeat them `rowCount - rowNumber` times. ```js assert.equal(padRow(1, 3), " # ");