--- id: 5d7925356ab117923b80c9cd title: Part 58 challengeType: 0 dashedName: part-58 --- # --description-- Inside `elemValue`, define `fn` to be a function which takes `c` as argument and returns `document.getElementById(c + n).value`. Return `fn` instead of `n`. # --hints-- See description above for instructions. ```js assert( /elemValue.*constfn=\(?c\)?=>document\.getElementById\(c\+n\)\.value;?returnfn;?\}/.test( code.replace(/\s/g, '') ) ); ``` # --seed-- ## --before-user-code-- ```html Spreadsheet
``` ## --after-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```