fix(curriculum): updated step 27 of music player to accept let declaration (#54407)

This commit is contained in:
Jenna (Ju Hee) Han 2024-04-16 02:18:54 -04:00 committed by GitHub
parent b4bae84bfd
commit e697b862e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,7 @@ assert.isFunction(sortSongs);
Your `sortSongs` function should use arrow function syntax.
```js
assert.match(code, /const\s+sortSongs\s*=\s*\(\s*\)\s*=>\s*{\s*}\s*;?/)
assert.match(code, /const|let\s+sortSongs\s*=\s*\(\s*\)\s*=>\s*{\s*}\s*;?/)
```
# --seed--