--- id: 5d79253939434a2724c0ec41 title: Part 131 challengeType: 0 dashedName: part-131 --- # --description-- Now define two variable: `length` which is `sorted.length` and `middle` which is `length / 2 - 1`. # --hints-- See description above for instructions. ```js assert( /constmedian=nums=>\{constsorted=nums\.slice\(\)\.sort\(\((.+),(.+)\)=>\1-\2\);?constlength=sorted\.length;?constmiddle=length\/2-1/.test( code.replace(/\s/g, '') ) ); ``` # --seed-- ## --before-user-code-- ```html Spreadsheet
``` ## --after-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```