You are viewing a single comment's thread from:RE: The Exponentiation Operator in JavaScriptView the full contextView the direct parentghasemkiani (69)in #technology • 7 years ago Good question. Probably there is a better performance, because the method call is removed.
So, I ran a benchmark and turns out
**
is almost three times faster thanMath.pow
on NodeJS.That's a very nice performance boost. It surely is an improvement.