From 4cfcf27a0751b457ece12d9c15fd91bbdf7086f9 Mon Sep 17 00:00:00 2001 From: Supravisor <153783117+Supravisor@users.noreply.github.com> Date: Mon, 5 Aug 2024 19:29:25 +1200 Subject: [PATCH] fix(curriculum): clarify object access in Spreadsheet (#55462) --- .../646d4554721d43cb19a68bc4.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-functional-programming-by-building-a-spreadsheet/646d4554721d43cb19a68bc4.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-functional-programming-by-building-a-spreadsheet/646d4554721d43cb19a68bc4.md index b8629fc2e12..6ad63ae4271 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-functional-programming-by-building-a-spreadsheet/646d4554721d43cb19a68bc4.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-functional-programming-by-building-a-spreadsheet/646d4554721d43cb19a68bc4.md @@ -7,9 +7,10 @@ dashedName: step-86 # --description-- -The `fn` parameter will be the name of a function, such as `SUM`. Update `apply` to implicitly return the function found at the `fn` property of your `spreadsheetFunctions` object. -Remember that `fn` might not be lowercase, so you'll need to convert it to a lowercase string. +The `fn` parameter will be passed the name of a function, such as `"SUM"`. Update `apply` to implicitly return the function from your `spreadsheetFunctions` object using the `fn` variable as the key for the object access. + +Remember that `fn` might not contain a lowercase string, so you'll need to convert it to a lowercase string. # --hints--