JS logic | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

JS logic

Why does JS need methods for calculating the square and cubic root, if the pow method does everything with ease?

20th Jun 2019, 8:44 PM
Crinax
Crinax - avatar
1 Resposta
+ 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
20th Jun 2019, 9:04 PM
Airree
Airree - avatar