undefined on first line: Array.from(...), what I'm wrong? jquery demo | pure js
i might be wrong, but the issue is quite possibly in nodeList not be Arrays (they are array like elements) you have to convert them to array before looping over
I applied some changes to the code, I added the comment in the modified line https://pastebin.com/z9CDBs2u, now the error is changed: Uncaught TypeError: a[i].slice is not a function
Обсуждают сегодня