ES6 - Fonction Math.asin (x)

Cette fonction renvoie le sinus inverse de x.

Syntaxe

Math.asin(x)

Paramètre

  • X - représente un nombre

Exemple

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

Production

---Math.asin()--- 
Math.asin(0): 0 
Math.asin(Math.SQRT1_2): 0.7853981633974484