ES6 - Fonction Math.atan (x)

Il renvoie la tangente inverse de x.

Syntaxe

Math.atan(x)

Paramètre

  • X - représente un nombre

Exemple

console.log("---Math.atan()---") 
console.log("Math.atan(0): "+Math.atan(0)) 
console.log("Math.atan(Math.SQRT1_2): "+Math.atan(Math.SQRT1_2))

Production

---Math.atan()--- 
Math.atan(0): 0 
Math.atan(Math.SQRT1_2): 0.6154797086703874