Check the console, please.

Task:

Function to take a number and return every integer from 0 to that number in the console. Every even number should be "foo" instead of the number.