SyntaxFix
Write A Post
Hire A Developer
Questions
const results = Array.from(myNodeList.values()).map(parser_item);
NodeList is not Array but NodeList.values() return a Array Iterator, so can convert it to Array.