mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-03 14:01:27 -05:00
chore(curriculum): Statistics Calculator add quotes to strings (#55686)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
@@ -19,7 +19,7 @@ Your `calculate` function should have a `value` variable.
|
||||
assert.match(calculate.toString(), /value/);
|
||||
```
|
||||
|
||||
Your `calculate` function should call `document.querySelector()` with `#numbers` as the argument.
|
||||
Your `calculate` function should call `document.querySelector()` with `"#numbers"` as the argument.
|
||||
|
||||
```js
|
||||
assert.match(calculate.toString(), /document\.querySelector\(\s*("|')#numbers\1\s*\)/)
|
||||
|
||||
Reference in New Issue
Block a user