--- id: 5d792539de4b9ac14dd40409 title: Part 122 challengeType: 0 dashedName: part-122 --- # --description-- Use the ternary operator in `nodups` to return `a` if `a.includes(x)` and `a.concat(x)` otherwise. # --hints-- See description above for instructions. ```js assert( JSON.stringify(spreadsheetFunctions.nodups([1, 3, 1, 5, 7, 7, 9, 7])) === '[1,3,5,7,9]' ); ``` # --seed-- ## --before-user-code-- ```html Spreadsheet
``` ## --after-user-code-- ```html ``` ## --seed-contents-- ```html ``` # --solutions-- ```html ```