mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-03-11 04:01:15 -04:00
fix(curriculum): use author name for library project step 6 (#58367)
Co-authored-by: Ilenia <26656284+ilenia-magoni@users.noreply.github.com> Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com>
This commit is contained in:
@@ -30,7 +30,7 @@ assert.lengthOf(getBooksByAuthor, 2)
|
||||
Your `getBooksByAuthor` function should return an array.
|
||||
|
||||
```js
|
||||
assert.isArray(getBooksByAuthor(library))
|
||||
assert.isArray(getBooksByAuthor(library, ''));
|
||||
```
|
||||
|
||||
Your `getBooksByAuthor` function should use a higher order function. Ex. (`filter`, `map`, `reduce`).
|
||||
|
||||
Reference in New Issue
Block a user