Use const inside a for loop iteration

Each iteration of a for loop is its own block scope. Inside the loop, declare a const value equal to i * 2 and push it into collected.
JavaScript
Console