Sort:  

So, I ran a benchmark and turns out ** is almost three times faster than Math.pow on NodeJS.

That's a very nice performance boost. It surely is an improvement.