fix(curriculum): Step 25 football team cards - too strict regex (#53869)

Co-authored-by: Kishan Sakariya <palakbhalgami@palaks-MacBook-Air.local>
This commit is contained in:
Kishan Sakariya
2024-02-26 11:48:08 +05:30
committed by GitHub
parent 320b868800
commit d2c7aa55eb

View File

@@ -36,7 +36,7 @@ assert.match(setPlayerCards.toString(), /playerCards\.innerHTML\s*\+=/);
You should assign `arr.map()` to the `playerCards.innerHTML` using the `+=` operator.
```js
assert.match(code, /playerCards\.innerHTML\s+\+=\s*arr\.map\(\s*\(\s*\)\s*=>\s*\{\s*\}\s*\)/)
assert.match(code, /playerCards\.innerHTML\s*\+=\s*arr\.map\(\s*\(\s*\)\s*=>\s*\{\s*\}\s*\)/)
```
# --seed--