little forEach loop question

so the person i'm following to learn JS is working on local storage and want to store a color value but i don't want to go through something that i don't understand, can someone explain what what forEach(li) means?
chrome_loHrBUbFMP.png
Was this page helpful?