From ba3fdd53e05060daad3e4bf4cde014f7dc457976 Mon Sep 17 00:00:00 2001 From: Supravisor <153783117+Supravisor@users.noreply.github.com> Date: Fri, 26 Apr 2024 11:26:10 +1200 Subject: [PATCH] fix(curriculum): clarify instructions with implicit return (#54272) Co-authored-by: Tom <20648924+moT01@users.noreply.github.com> --- .../6449842c6f6c84261075e4c9.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-functional-programming-by-building-a-spreadsheet/6449842c6f6c84261075e4c9.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-functional-programming-by-building-a-spreadsheet/6449842c6f6c84261075e4c9.md index b514741ae01..b1b54dda895 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-functional-programming-by-building-a-spreadsheet/6449842c6f6c84261075e4c9.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-functional-programming-by-building-a-spreadsheet/6449842c6f6c84261075e4c9.md @@ -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.