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 15:59:31 +07:00
committed by GitHub
co-authored by Krzysztof G.
parent 4c629e192d
commit f22d512ac7
@@ -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--