Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

.forEach in Javascript



Array.prototype.forEach.call(node.childNodes, (child) => {
    // Do something with `child`
});


Source by nullorempty.org #
 
PREVIOUS NEXT
Tagged: #Javascript
ADD COMMENT
Topic
Name
5+7 =