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:
Anna
2025-01-27 18:27:03 +01:00
committed by GitHub
co-authored by Ilenia Krzysztof G.
parent 082979cfa8
commit 83048128ca
@@ -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`).