If we have to repeat the same instructions more than once, we can add a loop inside a function.

Make sure to pick for (var i = 1; i <= 3; i++) followed by { and then console.log("And a " + i);, }.