diff options
Diffstat (limited to 'files/ru/web/javascript/reference/global_objects/object/tolocalestring/index.html')
| -rw-r--r-- | files/ru/web/javascript/reference/global_objects/object/tolocalestring/index.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/files/ru/web/javascript/reference/global_objects/object/tolocalestring/index.html b/files/ru/web/javascript/reference/global_objects/object/tolocalestring/index.html index f87dd7a89d..37a3d62dce 100644 --- a/files/ru/web/javascript/reference/global_objects/object/tolocalestring/index.html +++ b/files/ru/web/javascript/reference/global_objects/object/tolocalestring/index.html @@ -10,20 +10,20 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/toLocaleString --- <div> {{JSRef("Global_Objects", "Object")}}</div> -<h2 id="Summary" name="Summary">Сводка</h2> +<h2 id="Summary">Сводка</h2> <p>Метод <code><strong>toLocaleString()</strong></code> возвращает строку, представляющую объект. Этот метод предназначен для переопределения унаследованными объектами в целях поддержки зависимости от локали.</p> -<h2 id="Syntax" name="Syntax">Синтаксис</h2> +<h2 id="Syntax">Синтаксис</h2> <pre class="syntaxbox"><code><var>obj</var>.toLocaleString();</code></pre> -<h2 id="Description" name="Description">Описание</h2> +<h2 id="Description">Описание</h2> <p>Метод <code>toLocaleString</code> объекта {{jsxref("Global_Objects/Object", "Object")}} возвращает результат вызова метода {{jsxref("Object.toString", "toString()")}}.</p> <p>Эта функция обеспечивает объектам обобщённый метод <code>toLocaleString</code>, хотя и не все объекты могут её использовать. Смотрите ниже список таких объектов.</p> -<h3 id="Objects_overriding_toLocaleString" name="Objects_overriding_toLocaleString">Объекты, переопределяющие <code>toLocaleString</code></h3> +<h3 id="Objects_overriding_toLocaleString">Объекты, переопределяющие <code>toLocaleString</code></h3> <ul> <li>{{jsxref("Global_Objects/Array", "Array")}}: {{jsxref("Array.prototype.toLocaleString()")}}</li> <li>{{jsxref("Global_Objects/Number", "Number")}}: {{jsxref("Number.prototype.toLocaleString()")}}</li> <li>{{jsxref("Global_Objects/Date", "Date")}}: {{jsxref("Date.prototype.toLocaleString()")}}</li> </ul> -<h2 id="Specifications" name="Specifications">Спецификации</h2> +<h2 id="Specifications">Спецификации</h2> <table class="standard-table"> <tbody> <tr> @@ -48,11 +48,11 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Object/toLocaleString </tr> </tbody> </table> -<h2 id="Browser_compatibility" name="Browser_compatibility">Совместимость с браузерами</h2> +<h2 id="Browser_compatibility">Совместимость с браузерами</h2> <div> <p>{{Compat}}</p> -<h2 id="See_also" name="See_also">Смотрите также</h2> +<h2 id="See_also">Смотрите также</h2> <ul> <li>{{jsxref("Object.prototype.toString()")}}</li> </ul> |
