From e3c340462ff068aa79fad5262c39e0645bda92ab Mon Sep 17 00:00:00 2001
From: an-777 <121708493+Dr-XYZ@users.noreply.github.com>
Date: Tue, 17 Dec 2024 20:43:44 +0800
Subject: [PATCH 1/7] create
---
.../global_objects/math/atanh/index.md | 64 +++++++++++++++++++
1 file changed, 64 insertions(+)
create mode 100644 files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
diff --git a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
new file mode 100644
index 00000000000000..4bcba3205cd22c
--- /dev/null
+++ b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
@@ -0,0 +1,64 @@
+---
+title: Math.atanh()
+slug: Web/JavaScript/Reference/Global_Objects/Math/atanh
+---
+
+{{JSRef}}
+
+**`Math.atanh()`** 靜態方法返回一個數字的反雙曲正切值,也就是說,
+
+
+
+{{EmbedInteractiveExample("pages/js/math-atanh.html")}}
+
+## 語法
+
+```js-nolint
+Math.atanh(x)
+```
+
+### 參數
+
+- `x`
+ - : 一個介於 -1 和 1 之間的數字(包含邊界)。
+
+### 返回值
+
+`x` 的反雙曲正切值。如果 `x` 為 1,返回 {{jsxref("Infinity")}}。如果 `x` 為 -1,返回 `-Infinity`。如果 `x` 小於 -1 或大於 1,返回 {{jsxref("NaN")}}。
+
+## 描述
+
+由於 `atanh()` 是 `Math` 的靜態方法,你必須使用 `Math.atanh()` 來呼叫它,而不是呼叫你所建立的 `Math` 物件的方法(`Math` 不是建構函式)。
+
+## 範例
+
+### 使用 Math.atanh()
+
+```js
+Math.atanh(-2); // NaN
+Math.atanh(-1); // -Infinity
+Math.atanh(-0); // -0
+Math.atanh(0); // 0
+Math.atanh(0.5); // 0.5493061443340548
+Math.atanh(1); // Infinity
+Math.atanh(2); // NaN
+```
+
+## 規範
+
+{{Specifications}}
+
+## 瀏覽器相容性
+
+{{Compat}}
+
+## 參見
+
+- [在 `core-js` 中的 `Math.atanh` polyfill](https://github.com/zloirock/core-js#ecmascript-math)
+- {{jsxref("Math.acosh()")}}
+- {{jsxref("Math.asinh()")}}
+- {{jsxref("Math.cosh()")}}
+- {{jsxref("Math.sinh()")}}
+- {{jsxref("Math.tanh()")}}
From 5d7d21475b6ccf19845c69fba94b5e8cadfcfb84 Mon Sep 17 00:00:00 2001
From: an-777 <121708493+Dr-XYZ@users.noreply.github.com>
Date: Tue, 17 Dec 2024 20:44:52 +0800
Subject: [PATCH 2/7] fix
---
.../web/javascript/reference/global_objects/math/atanh/index.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
index 4bcba3205cd22c..58cc357f999258 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
+++ b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
@@ -1,6 +1,8 @@
---
title: Math.atanh()
slug: Web/JavaScript/Reference/Global_Objects/Math/atanh
+l10n:
+ sourceCommit: 761b9047d78876cbd153be811efb1aa77b419877
---
{{JSRef}}
From ba4d3ef4ecd00f94641c704b0690f47acc56a21c Mon Sep 17 00:00:00 2001
From: an-777 <121708493+Dr-XYZ@users.noreply.github.com>
Date: Thu, 19 Dec 2024 17:12:31 +0800
Subject: [PATCH 3/7] fix
---
.../web/javascript/reference/global_objects/math/atanh/index.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
index 58cc357f999258..a23fc911013a6e 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
+++ b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
@@ -32,7 +32,7 @@ Math.atanh(x)
## 描述
-由於 `atanh()` 是 `Math` 的靜態方法,你必須使用 `Math.atanh()` 來呼叫它,而不是呼叫你所建立的 `Math` 物件的方法(`Math` 不是建構函式)。
+由於 `atanh()` 是 `Math` 的靜態方法,你必須使用 `Math.atanh()` 來呼叫它,而不是呼叫你所建立的 `Math` 物件的方法(`Math` 不是建構子)。
## 範例
From 71ff15c8482d983616d7f5227837bebe6e3a02f1 Mon Sep 17 00:00:00 2001
From: an-777 <121708493+Dr-XYZ@users.noreply.github.com>
Date: Thu, 19 Dec 2024 21:26:02 +0800
Subject: [PATCH 4/7] fix
---
.../web/javascript/reference/global_objects/math/atanh/index.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
index a23fc911013a6e..43cdd8fdfdf814 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
+++ b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
@@ -58,7 +58,7 @@ Math.atanh(2); // NaN
## 參見
-- [在 `core-js` 中的 `Math.atanh` polyfill](https://github.com/zloirock/core-js#ecmascript-math)
+- [`core-js` 中的 `Math.atanh` polyfill](https://github.com/zloirock/core-js#ecmascript-math)
- {{jsxref("Math.acosh()")}}
- {{jsxref("Math.asinh()")}}
- {{jsxref("Math.cosh()")}}
From 2aae17e7673abe2232ef0e84cc67da76f2761e2b Mon Sep 17 00:00:00 2001
From: an-777 <121708493+Dr-XYZ@users.noreply.github.com>
Date: Thu, 19 Dec 2024 21:26:41 +0800
Subject: [PATCH 5/7] fix
---
.../web/javascript/reference/global_objects/math/atanh/index.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
index 43cdd8fdfdf814..84f9f1cdba65c8 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
+++ b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
@@ -58,7 +58,7 @@ Math.atanh(2); // NaN
## 參見
-- [`core-js` 中的 `Math.atanh` polyfill](https://github.com/zloirock/core-js#ecmascript-math)
+- [`core-js` 中 `Math.atanh` 的 polyfill](https://github.com/zloirock/core-js#ecmascript-math)
- {{jsxref("Math.acosh()")}}
- {{jsxref("Math.asinh()")}}
- {{jsxref("Math.cosh()")}}
From d7f18f5fc9963922460b1ecdc596f8d9347bf358 Mon Sep 17 00:00:00 2001
From: Jason Ren <40999116+jasonren0403@users.noreply.github.com>
Date: Fri, 20 Dec 2024 10:25:42 +0800
Subject: [PATCH 6/7] fix equation
---
.../web/javascript/reference/global_objects/math/atanh/index.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
index 84f9f1cdba65c8..973c56de64e6c4 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
+++ b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
@@ -9,9 +9,11 @@ l10n:
**`Math.atanh()`** 靜態方法返回一個數字的反雙曲正切值,也就是說,
+
+
{{EmbedInteractiveExample("pages/js/math-atanh.html")}}
From fa9e3db8acac796ad93223446fa462eaad175b36 Mon Sep 17 00:00:00 2001
From: Jason Ren <40999116+jasonren0403@users.noreply.github.com>
Date: Fri, 20 Dec 2024 10:34:31 +0800
Subject: [PATCH 7/7] unify
---
.../javascript/reference/global_objects/math/atanh/index.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
index 973c56de64e6c4..a56a3036dd42ae 100644
--- a/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
+++ b/files/zh-tw/web/javascript/reference/global_objects/math/atanh/index.md
@@ -7,7 +7,7 @@ l10n:
{{JSRef}}
-**`Math.atanh()`** 靜態方法返回一個數字的反雙曲正切值,也就是說,
+**`Math.atanh()`** 靜態方法回傳一個數字的反雙曲正切值,也就是說,