Preview:
use for...in or Object.keys(), Object.values(), or Object.entries() to iterate over the keys, values, or entries of an object

Map has built-in iteration methods like .forEach(), .entries(), .keys(), and .values() which return an iterator that maintains the insertion order.
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter