Method “forEach”

function forEach(callback)

Iterates over all nodes contained in the list

Parameters

NameTypeDescription
callbackfunctionCallback function to invoke for each node