DEV Community

Discussion on: Important Math methods

Collapse
 
devfranpr profile image
DevFranPR

Is pow still relevant since the aproval of ** operator?

Collapse
 
pritomdbhaskar profile image
Pritom Deb

Both works exactly the same. The only difference exponentiation operator doesn't work on older browser where pow() works in older browser. And you also need node version 7 or upper for exponentiation operator to work.