Given a real number n, find the square root of n. For example, given n = 9, return 3.
const findRoot = n => n >= 0 ? n ** .5 : void 0; console.log(findRoot(9));
Is this some kind of trick question? What's there to solve? Did I miss something?