fix(curriculum): add test to check if the original variable is edited (#43791)

* fix: add test to check if variable is edited

* Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/remove-whitespace-from-start-and-end.md

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>

Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
This commit is contained in:
Prathamesh Gawas
2021-10-09 23:15:10 +05:30
committed by GitHub
parent 0e2f5f0074
commit d3708422dd

View File

@ -36,6 +36,12 @@ The `result` variable should not directly be set to a string
assert(!code.match(/result\s*=\s*["'`].*?["'`]/));
```
The value of the `hello` variable should not be changed.
```js
assert(hello === ' Hello, World! ');
```
# --seed--
## --seed-contents--