0
13
JRJose Romero
The iterator variable refers to an object's enumerator, which maintains a pointer to the next element in the object. The code constructs a key for the object using the iterator's reference as the key, and then iterates over the object using the key.
Shortcut: for.of
for (const iterator of object) {
key;
}