
Новые сообщения [новые: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: |
10ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
50ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
41ms |
get tp. blocked users: |
2ms |
| others: | 245ms |
| total: | 386ms |

| 0 / 0 |
