Readonly
lengthReturns the number of nodes in the collection.
Performs the specified action for each node in an list.
A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the list.
Optional
thisArg: anyAn object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.
MDN Reference