--- id: 5d7925330918ae4a2f282e7e title: Step 12 challengeType: 0 dashedName: step-12 --- # --description-- Use arrow function syntax to define a function `infixEval` which takes `str` and `regex` as arguments and returns `str.replace(regex, "")`. # --hints-- See description above for instructions. ```js assert( /constinfixEval=\(str,regex\)=>str\.replace\(regex,['"]{2}\)/.test( code.replace(/\s/g, '') ) ); ``` # --seed-- ## --before-user-code-- ```html Spreadsheet
``` ## --after-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```