I solved the kata on the codes and looked through some other solutions when I came across a double asterisk to indicate its strength. I did some research and see that this is the correct statement in python, but does not see anything in the JavaScript documentation.
var findNb = m => { var n = Math.floor((4*m)**.25); var sum = x => (x*(x+1)/2)**2; return sum(n) == m ? n : -1; }
However, when I run this solution on code tables, it works. I am wondering if this is new in ES6, although I have not found anything about it.
source share