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) --- .../global_objects/date/getseconds/index.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'files/ru/web/javascript/reference/global_objects/date/getseconds/index.html') diff --git a/files/ru/web/javascript/reference/global_objects/date/getseconds/index.html b/files/ru/web/javascript/reference/global_objects/date/getseconds/index.html index 247cb565fe..6027da393b 100644 --- a/files/ru/web/javascript/reference/global_objects/date/getseconds/index.html +++ b/files/ru/web/javascript/reference/global_objects/date/getseconds/index.html @@ -11,25 +11,25 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/getSeconds ---
{{JSRef("Global_Objects", "Date")}}
-

Сводка

+

Сводка

Метод getSeconds() возвращает секунды указанной даты по местному времени.

-

Синтаксис

+

Синтаксис

dateObj.getSeconds()
-

Параметры

+

Параметры

Нет.

-

Возвращаемое значение

+

Возвращаемое значение

Значение, возвращённое методом getSeconds(), является целым числом от 0 до 59.

-

Примеры

+

Примеры

-

Пример: использование метода getSeconds()

+

Пример: использование метода getSeconds()

Вторая инструкция в примере ниже присваивает значение 30 переменной seconds из значения переменной date объекта {{jsxref("Global_Objects/Date", "Date")}}.

@@ -39,7 +39,7 @@ let seconds = date.getSeconds(); console.log(seconds); // 30 -

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

+

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

@@ -66,11 +66,11 @@ console.log(seconds); // 30
-

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

+

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

{{Compat}}

-

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

+

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