mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-11 16:00:12 -04:00
fix(curriculum): clarify instructions with implicit return (#54272)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user