From 55ddd4454665a3c66e3d5b186bc79048468d36e7 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Mon, 15 Mar 2021 14:29:50 +0300 Subject: Auto fixes --- .../ru/web/javascript/reference/global_objects/date/tostring/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/ru/web/javascript/reference/global_objects/date/tostring') diff --git a/files/ru/web/javascript/reference/global_objects/date/tostring/index.html b/files/ru/web/javascript/reference/global_objects/date/tostring/index.html index 321a941ea9..467271f6dd 100644 --- a/files/ru/web/javascript/reference/global_objects/date/tostring/index.html +++ b/files/ru/web/javascript/reference/global_objects/date/tostring/index.html @@ -28,7 +28,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Date/toString

Примеры

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

-

В следующем примере переменной myVar присваевается значение, возвращённое методом toString() объекта {{jsxref("Global_Objects/Date", "Date")}}:

+

В следующем примере переменной myVar присваивается значение, возвращённое методом toString() объекта {{jsxref("Global_Objects/Date", "Date")}}:

var x = new Date();
 myVar = x.toString(); // присваивает переменной myVar значение вроде:
 // Mon Sep 28 1998 14:36:22 GMT-0700 (Pacific Daylight Time)
-- 
cgit v1.2.3-54-g00ecf