Math.asinh()
Baseline
Widely available
This feature is well established and works across many devices and browser versions. Itโs been available across browsers since โจ2015๋ 7์โฉ.
์ ์ ๋ฉ์๋ Math.asinh()
๋ ์ซ์์ ์ญ ์๊ณก์ ์ฌ์ธ์ ๋ฐํํฉ๋๋ค.
์๋ํด ๋ณด๊ธฐ
console.log(Math.asinh(1));
// Expected output: 0.881373587019543
console.log(Math.asinh(0));
// Expected output: 0
console.log(Math.asinh(-1));
// Expected output: -0.881373587019543
console.log(Math.asinh(2));
// Expected output: 1.4436354751788103
๊ตฌ๋ฌธ
js
Math.asinh(x)
๋งค๊ฐ๋ณ์
x
-
์ซ์.
๋ฐํ ๊ฐ
x
์ ์ญ ์๊ณก์ ์ฌ์ธ.
์ค๋ช
asinh()
๋ Math
์ ์ ์ ๋ฉ์๋์ด๋ฏ๋ก ์์ฑํ Math
๊ฐ์ฒด์ ๋ฉ์๋๊ฐ ์๋๋ผ ํญ์ Math.asinh()
๋ก ์ฌ์ฉํฉ๋๋ค(Math๋ ์์ฑ์๊ฐ ์๋๋๋ค).
์์
Math.asinh() ์ฌ์ฉํ๊ธฐ
js
Math.asinh(-Infinity); // -Infinity
Math.asinh(-1); // -0.881373587019543
Math.asinh(-0); // -0
Math.asinh(0); // 0
Math.asinh(1); // 0.881373587019543
Math.asinh(Infinity); // Infinity
๋ช ์ธ์
Specification |
---|
ECMAScriptยฎ 2026 Language Specification # sec-math.asinh |
๋ธ๋ผ์ฐ์ ํธํ์ฑ
Loadingโฆ