Good question. Probably there is a better performance, because the method call is removed.
RE: The Exponentiation Operator in JavaScript
You are viewing a single comment's thread from:
The Exponentiation Operator in JavaScript
The Exponentiation Operator in JavaScript
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.Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
That's a very nice performance boost. It surely is an improvement.
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit