Lessons from open-source: Convert an array-like HTML NodeList to a standard javascript array.
This lesson is picked from next.js/packages/next. In this article, you will learn how to convert an array-like HTML Nodelist into a standard javascript array.
looseToArray Function:
The following code snippet is from https://github.com/vercel/next.js...
ramunarasinga.hashnode.dev3 min read