3 ms·(just for laughs) ls.filter(o=>0<o).map(o=>o||[Math.sqrt(x, -Math.sqrt(x)])by 6510 5y ago(just for laughs) ls.filter(o=>0<o).map(o=>o||[Math.sqrt(x, -Math.sqrt(x)])