mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-12 01:00:13 -04:00
fix(curriculum): updated step 27 of music player to accept let declaration (#54407)
This commit is contained in:
committed by
GitHub
parent
b4bae84bfd
commit
e697b862e6
@@ -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--
|
||||
|
||||
Reference in New Issue
Block a user