From cd6e3907cc3ada000d084f7fba7a7c0fb423a195 Mon Sep 17 00:00:00 2001 From: Andrey Aksenov <43615279+andrey-ptz@users.noreply.github.com> Date: Thu, 25 Jul 2024 13:01:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=BE=D0=B4=D0=B7=D0=B0=D0=B3?= =?UTF-8?q?=D0=BE=D0=BB=D0=BE=D0=B2=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit В данном примере document.getElementsByTagName('a') возвращает HTMLCollection, а не NodeList --- js/array-from/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/array-from/index.md b/js/array-from/index.md index be150b8dce..0b4b6d75af 100644 --- a/js/array-from/index.md +++ b/js/array-from/index.md @@ -51,7 +51,7 @@ const arr = Array.from(uniqueNumbers) // [1, 2, 3] ``` -### Массив из [NodeList](/js/htmlcollection-and-nodelist/) +### Массив из [HTMLCollection](/js/htmlcollection-and-nodelist/) Получить URL из всех ссылок на странице: