diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-13 17:16:08 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-13 17:16:08 -0500 |
commit | a5fcfafb665e96cae5d04dfba927db8dcdfd7f14 (patch) | |
tree | 8eda610157e718083f580c6b31b0e101c3cf0bbc /files/zh-cn/web/javascript | |
parent | ba5d6f9610d6bb352eecfa3ded1bb99bc9892916 (diff) | |
download | translated-content-a5fcfafb665e96cae5d04dfba927db8dcdfd7f14.tar.gz translated-content-a5fcfafb665e96cae5d04dfba927db8dcdfd7f14.tar.bz2 translated-content-a5fcfafb665e96cae5d04dfba927db8dcdfd7f14.zip |
2020-12-13
Diffstat (limited to 'files/zh-cn/web/javascript')
-rw-r--r-- | files/zh-cn/web/javascript/guide/expressions_and_operators/index.html | 2 | ||||
-rw-r--r-- | files/zh-cn/web/javascript/guide/numbers_and_dates/index.html | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/files/zh-cn/web/javascript/guide/expressions_and_operators/index.html b/files/zh-cn/web/javascript/guide/expressions_and_operators/index.html index 256961d4e6..62d4b97ab5 100644 --- a/files/zh-cn/web/javascript/guide/expressions_and_operators/index.html +++ b/files/zh-cn/web/javascript/guide/expressions_and_operators/index.html @@ -603,7 +603,7 @@ delete property; // legal only within a with statement <p><code>objectName</code>是一个对象名,<code>property</code> 是一个已经存在的属性,<code>index</code>是数组中的一个已经存在的键值的索引值。</p> -<p>第四行的形式只在<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/with">with</a></code>声明的状态下是合法的, 从对象中删除一个属性。</p> +<p>第三行的形式只在<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/with">with</a></code>声明的状态下是合法的, 从对象中删除一个属性。</p> <p>你能使用 <code>delete</code> 删除各种各样的隐式声明, 但是被<code>var</code>声明的除外。</p> diff --git a/files/zh-cn/web/javascript/guide/numbers_and_dates/index.html b/files/zh-cn/web/javascript/guide/numbers_and_dates/index.html index 392c659766..6376d14908 100644 --- a/files/zh-cn/web/javascript/guide/numbers_and_dates/index.html +++ b/files/zh-cn/web/javascript/guide/numbers_and_dates/index.html @@ -246,7 +246,7 @@ var notANum = Number.NaN; </tr> <tr> <td>{{jsxref("Math.sinh", "sinh()")}}, {{jsxref("Math.cosh", "cosh()")}}, {{jsxref("Math.tanh", "tanh()")}}</td> - <td>双曲三角函数; 返回值为弧度.</td> + <td>双曲三角函数; 参数为弧度.</td> </tr> <tr> <td>{{jsxref("Math.asinh", "asinh()")}}, {{jsxref("Math.acosh", "acosh()")}}, {{jsxref("Math.atanh", "atanh()")}}</td> @@ -260,7 +260,7 @@ var notANum = Number.NaN; </tr> <tr> <td>{{jsxref("Math.floor", "floor()")}}, {{jsxref("Math.ceil", "ceil()")}}</td> - <td>返回最大/最小整数小于/大于或等于参数</td> + <td>返回小于等于参数的最大整数;返回大于等于参数的最小整数</td> </tr> <tr> <td>{{jsxref("Math.min", "min()")}}, {{jsxref("Math.max", "max()")}}</td> @@ -279,7 +279,7 @@ var notANum = Number.NaN; <tr> <td>{{jsxref("Math.sqrt", "sqrt()")}}, {{jsxref("Math.cbrt", "cbrt()")}}, {{jsxref("Math.hypot", "hypot()")}}</td> <td> - <p>平方根,立方根,平方参数的和的平方根 </p> + <p>平方根,立方根,所有参数平方和的平方根 </p> <p>两个参数平方和的平方根</p> </td> |