fix(curriculum): clarify instructions with implicit return (#54272)

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
Supravisor 2024-04-26 11:26:10 +12:00 committed by GitHub
parent 2a4c291715
commit ba3fdd53e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,8 @@ In your `evalFormula`, declare an `idToText` arrow function which takes an `id`
Your `idToText` function should return the result of calling `.find()` on the `cells` array with a callback function that takes an `cell` parameter and returns `cell.id === id`.
Both of your functions should use implicit returns.
# --hints--
You should declare an `idToText` variable in your `evalFormula` function.