fix(curriculum): calorie counter step 94 ensure function is passed (#53112)

Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
This commit is contained in:
Pratyansh Agrawal
2024-01-12 14:29:31 +05:30
committed by GitHub
parent 4c629e192d
commit f22d512ac7

View File

@@ -28,7 +28,7 @@ assert.match(code, /clearButton\s*\.addEventListener\s*\(\s*('|"|`)click\1\s*/);
You should pass `clearForm` as the second argument to `.addEventListener()`.
```js
assert.match(code, /clearButton\s*\.addEventListener\s*\(\s*('|"|`)click\1\s*,\s*clearForm\s*/);
assert.match(code, /clearButton\s*\.addEventListener\s*\(\s*('|"|`)click\1\s*,\s*clearForm\s*\)\s*;?\s*/);
```
# --seed--