valuesbeginnerconst m = new Map([['a', 1], ['b', 2]])
for (const v of m.values()) {
console.log(v) // 1, 2
}Use Map.values() to iterate over all values in insertion order.
Values are yielded in the order their keys were inserted.
Challenge: Verify that values are in insertion order.