From 1386fed7d38652d5848d315927e7e23a66cffd13 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 20 Oct 2021 13:28:52 +0300 Subject: [RU] Remove `name` attribute from headings (#2788) --- .../reference/global_objects/math/abs/index.html | 18 +++++++++--------- .../reference/global_objects/math/acos/index.html | 18 +++++++++--------- .../reference/global_objects/math/acosh/index.html | 20 ++++++++++---------- .../reference/global_objects/math/asin/index.html | 18 +++++++++--------- .../reference/global_objects/math/asinh/index.html | 20 ++++++++++---------- .../reference/global_objects/math/atan/index.html | 18 +++++++++--------- .../reference/global_objects/math/atan2/index.html | 18 +++++++++--------- .../reference/global_objects/math/atanh/index.html | 20 ++++++++++---------- .../reference/global_objects/math/cbrt/index.html | 18 +++++++++--------- .../reference/global_objects/math/ceil/index.html | 20 ++++++++++---------- .../reference/global_objects/math/clz32/index.html | 20 ++++++++++---------- .../reference/global_objects/math/cos/index.html | 18 +++++++++--------- .../reference/global_objects/math/cosh/index.html | 20 ++++++++++---------- .../reference/global_objects/math/e/index.html | 14 +++++++------- .../reference/global_objects/math/exp/index.html | 18 +++++++++--------- .../reference/global_objects/math/expm1/index.html | 20 ++++++++++---------- .../reference/global_objects/math/floor/index.html | 20 ++++++++++---------- .../reference/global_objects/math/fround/index.html | 20 ++++++++++---------- .../reference/global_objects/math/hypot/index.html | 20 ++++++++++---------- .../reference/global_objects/math/imul/index.html | 18 +++++++++--------- .../reference/global_objects/math/index.html | 12 ++++++------ .../reference/global_objects/math/ln10/index.html | 14 +++++++------- .../reference/global_objects/math/ln2/index.html | 14 +++++++------- .../reference/global_objects/math/log/index.html | 20 ++++++++++---------- .../reference/global_objects/math/log10/index.html | 20 ++++++++++---------- .../reference/global_objects/math/log10e/index.html | 14 +++++++------- .../reference/global_objects/math/log1p/index.html | 20 ++++++++++---------- .../reference/global_objects/math/log2/index.html | 20 ++++++++++---------- .../reference/global_objects/math/log2e/index.html | 14 +++++++------- .../reference/global_objects/math/max/index.html | 18 +++++++++--------- .../reference/global_objects/math/min/index.html | 20 ++++++++++---------- .../reference/global_objects/math/pi/index.html | 14 +++++++------- .../reference/global_objects/math/pow/index.html | 18 +++++++++--------- .../reference/global_objects/math/random/index.html | 10 +++++----- .../reference/global_objects/math/round/index.html | 20 ++++++++++---------- .../reference/global_objects/math/sign/index.html | 20 ++++++++++---------- .../reference/global_objects/math/sin/index.html | 18 +++++++++--------- .../reference/global_objects/math/sinh/index.html | 20 ++++++++++---------- .../reference/global_objects/math/sqrt/index.html | 18 +++++++++--------- .../reference/global_objects/math/sqrt1_2/index.html | 14 +++++++------- .../reference/global_objects/math/sqrt2/index.html | 14 +++++++------- .../reference/global_objects/math/tan/index.html | 18 +++++++++--------- .../reference/global_objects/math/tanh/index.html | 20 ++++++++++---------- .../reference/global_objects/math/trunc/index.html | 14 +++++++------- 44 files changed, 390 insertions(+), 390 deletions(-) (limited to 'files/ru/web/javascript/reference/global_objects/math') diff --git a/files/ru/web/javascript/reference/global_objects/math/abs/index.html b/files/ru/web/javascript/reference/global_objects/math/abs/index.html index 2d46eb6650..7b12e5477f 100644 --- a/files/ru/web/javascript/reference/global_objects/math/abs/index.html +++ b/files/ru/web/javascript/reference/global_objects/math/abs/index.html @@ -11,30 +11,30 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/abs ---
{{JSRef("Global_Objects", "Math")}}
-

Сводка

+

Сводка

Метод Math.abs() возвращает абсолютное значение числа. то есть

Math.abs(x)=|x|={xifx0-xifx<0{\mathtt{\operatorname{Math.abs}(x)}} = {|x|} = \begin{cases} x & \text{if} \quad x \geq 0 \\ x & \text{if} \quad x < 0 \end{cases}

-

Синтаксис

+

Синтаксис

Math.abs(x)
-

Параметры

+

Параметры

x
Число.
-

Описание

+

Описание

Поскольку метод abs() является статическим методом объекта Math, вы всегда должны использовать его как Math.abs(), а не пытаться вызывать метод на созданном объекте Math (поскольку объект Math не является конструктором).

-

Примеры

+

Примеры

-

Пример: поведение метода Math.abs()

+

Пример: поведение метода Math.abs()

Метод вернёт {{jsxref("NaN")}}, если в него передать нечисловую строку или значение {{jsxref("undefined")}}/ничего не передавать. Метод вернёт 0, если в него передать значение {{jsxref("null")}}.

@@ -50,7 +50,7 @@ Math.abs('string'); // NaN Math.abs(); // NaN -

Спецификации

+

Спецификации

@@ -84,12 +84,12 @@ Math.abs(); // NaN -


+


Совместимость с браузерами

{{Compat("javascript.builtins.Math.abs")}}
-

Смотрите также

+

Смотрите также

@@ -65,10 +65,10 @@ Math.acos(2); // NaN
-

Совместимость с браузерами

+

Совместимость с браузерами

{{Compat}}

-

Смотрите также

+

Смотрите также