diff options
| author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-10-20 13:28:52 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-20 13:28:52 +0300 |
| commit | 1386fed7d38652d5848d315927e7e23a66cffd13 (patch) | |
| tree | eb4b9adfec3f46c77304a1b9461d44357c8164c8 /files/ru/web/javascript/reference/global_objects/math/cbrt/index.html | |
| parent | b0f32a46245b1033098a5a9826a7818fa4e65dde (diff) | |
| download | translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.gz translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.bz2 translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.zip | |
[RU] Remove `name` attribute from headings (#2788)
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/math/cbrt/index.html')
| -rw-r--r-- | files/ru/web/javascript/reference/global_objects/math/cbrt/index.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/files/ru/web/javascript/reference/global_objects/math/cbrt/index.html b/files/ru/web/javascript/reference/global_objects/math/cbrt/index.html index de656bbfb4..cb31ae7109 100644 --- a/files/ru/web/javascript/reference/global_objects/math/cbrt/index.html +++ b/files/ru/web/javascript/reference/global_objects/math/cbrt/index.html @@ -13,27 +13,27 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Math/cbrt --- <div>{{JSRef("Global_Objects", "Math")}}</div> -<h2 id="Summary" name="Summary">Сводка</h2> +<h2 id="Summary">Сводка</h2> <p>Метод <strong><code>Math.cbrt()</code></strong> возвращает кубический корень числа, то есть</p> <math display="block"><semantics><mrow><mstyle mathvariant="monospace"><mrow><mi>M</mi><mi>a</mi><mi>t</mi><mi>h</mi><mo>.</mo><mi>c</mi><mi>b</mi><mi>r</mi><mi>t</mi><mo stretchy="false">(</mo><mi>x</mi><mo stretchy="false">)</mo></mrow></mstyle><mo>=</mo><mroot><mi>x</mi><mn>3</mn></mroot><mo>=</mo><mtext>уникальный</mtext><mspace width="thickmathspace"></mspace><mi>y</mi><mspace width="thickmathspace"></mspace><mtext>такой, что</mtext><mspace width="thickmathspace"></mspace><msup><mi>y</mi><mn>3</mn></msup><mo>=</mo><mi>x</mi></mrow><annotation encoding="TeX">\mathtt{Math.cbrt(x)} = \sqrt[3]{x} = \text{уникальный} \; y \; \text{такой, что} \; y^3 = x</annotation></semantics></math><span style='font-family: x-locale-heading-primary,zillaslab,Palatino,"Palatino Linotype",x-locale-heading-secondary,serif; font-size: 2.33333rem; letter-spacing: -0.00278rem;'>Синтаксис</span> <pre class="syntaxbox"><code>Math.cbrt(<var>x</var>)</code></pre> -<h3 id="Parameters" name="Parameters">Параметры</h3> +<h3 id="Parameters">Параметры</h3> <dl> <dt><code>x</code></dt> <dd>Число.</dd> </dl> -<h2 id="Description" name="Description">Описание</h2> +<h2 id="Description">Описание</h2> <p>Поскольку метод <code>cbrt()</code> является статическим методом объекта <code>Math</code>, вы всегда должны использовать его как <code>Math.cbrt()</code>, а не пытаться вызывать метод на созданном экземпляре объекта <code>Math</code> (поскольку объект <code>Math</code> не является конструктором).</p> -<h2 id="Examples" name="Examples">Примеры</h2> +<h2 id="Examples">Примеры</h2> -<h3 id="Example_Using_Math.cbrt" name="Example:_Using_Math.cbrt">Пример: использование метода <code>Math.cbrt()</code></h3> +<h3 id="Example_Using_Math.cbrt">Пример: использование метода <code>Math.cbrt()</code></h3> <pre class="brush: js">Math.cbrt(-1); // -1 Math.cbrt(0); // 0 @@ -42,7 +42,7 @@ Math.cbrt(1); // 1 Math.cbrt(2); // 1.2599210498948734 </pre> -<h2 id="Polyfill" name="Polyfill">Полифил</h2> +<h2 id="Polyfill">Полифил</h2> <p>Для всех <math><semantics><mrow><mi>x</mi><mo>≥</mo><mn>0</mn></mrow><annotation encoding="TeX">x \geq 0</annotation></semantics></math>, мы имеем <math><semantics><mrow><mroot><mi>x</mi><mn>3</mn></mroot><mo>=</mo><msup><mi>x</mi><mrow><mn>1</mn><mo>/</mo><mn>3</mn></mrow></msup></mrow><annotation encoding="TeX">\sqrt[3]{x} = x^{1/3}</annotation></semantics></math>, так что этот метод может эмулироваться следующим образом:</p> @@ -57,7 +57,7 @@ Math.cbrt(2); // 1.2599210498948734 }; </pre> -<h2 id="Specifications" name="Specifications">Спецификации</h2> +<h2 id="Specifications">Спецификации</h2> <table class="standard-table"> <tbody> @@ -74,11 +74,11 @@ Math.cbrt(2); // 1.2599210498948734 </tbody> </table> -<h2 id="Browser_compatibility" name="Browser_compatibility">Совместимость с браузерами</h2> +<h2 id="Browser_compatibility">Совместимость с браузерами</h2> <p>{{Compat}}</p> -<h2 id="See_also" name="See_also">Смотрите также</h2> +<h2 id="See_also">Смотрите также</h2> <ul> <li>{{jsxref("Math.pow()")}}</li> |
