Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
17.05.2020, 16:37
|
|||
---|---|---|---|
|
|||
Как устранить ошибку Uncaught TypeError: .forEach is not a function |
|||
#18+
Здравствуйте! Подскажите, пожалуйста, из-за чего такая ошибка?: Uncaught TypeError: tours_list.forEach is not a function Код: javascript 1. 2. 3. 4. 5.
... |
|||
:
Нравится:
Не нравится:
|
|||
|
17.05.2020, 18:54
|
|||
---|---|---|---|
Как устранить ошибку Uncaught TypeError: .forEach is not a function |
|||
#18+
отладка по шагам знакома? console.log() ? console.log(tours_list); ?? ... |
|||
:
Нравится:
Не нравится:
|
|||
|
18.05.2020, 08:50
|
|||
---|---|---|---|
Как устранить ошибку Uncaught TypeError: .forEach is not a function |
|||
#18+
https://developer.mozilla.org/en-US/docs/Web/API/NodeList Although NodeList is not an Array, it is possible to iterate over it with forEach(). It can also be converted to a real Array using Array.from(). However, some older browsers have not implemented NodeList.forEach() nor Array.from(). This can be circumvented by using Array.prototype.forEach() — see this document's Example . ... |
|||
:
Нравится:
Не нравится:
|
|||
|
|
start [/forum/topic.php?fid=22&mobile=1&tid=1443463]: |
0ms |
get settings: |
8ms |
get forum list: |
12ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
311ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
39ms |
get tp. blocked users: |
1ms |
others: | 252ms |
total: | 644ms |
0 / 0 |