My JavaScript recipes
The code is iterating through the objects in the array. The iterator variable is pointing to the first object in the array, so the code is executing for each object in the array. Inside the for loop, there is a variable called key that is set to the value of the first object in the array.
Shortcut: for.of
for (const element of object) {
}