+ 1
JS logic
Why does JS need methods for calculating the square and cubic root, if the pow method does everything with ease?
1 Answer
+ 3
It's the same as asking, why do you need division. You can write x / 10 as x * 0.1. It's to make things easier
Why does JS need methods for calculating the square and cubic root, if the pow method does everything with ease?