fix(curriculum): Changed wording in description and hints for clarity (#55119)

Co-authored-by: Roy John Lee <royjohnlee@Roys-MacBook-Pro.local>
This commit is contained in:
royjohnlee
2024-06-08 07:14:53 -07:00
committed by GitHub
parent ff59b0a920
commit 323a008de5

View File

@@ -9,7 +9,7 @@ dashedName: step-65
You should now see the same bunch of characters in your console. Your `padRow` function is doing the exact same thing you were doing earlier, but now it's in a reusable section of its own.
Use the addition operator to concatenate a blank space `" "` to the beginning and end of your repeated `character` string.
Use the addition operator to concatenate a single space `" "` to the beginning and end of your repeated `character` string.
Remember that you can use the `+` operator to concatenate strings like this:
@@ -19,13 +19,13 @@ Remember that you can use the `+` operator to concatenate strings like this:
# --hints--
You should concatenate an empty space to the beginning of your returned value.
You should concatenate a single space to the beginning of your returned value.
```js
assert.match(padRow(1, 1), /^\s/);
```
You should concatenate an empty space to the end of your returned value.
You should concatenate a single space to the end of your returned value.
```js
assert.match(padRow(1, 1), /\s$/);