Question from the Javascript test

Write a for loop in Javascript that prints 1, 2, 4