Iteration count?

Report a typo

How many values will be printed to the console?

function logColors() {
  for (let color of arguments) {
    if(color === 'Yellow') continue
    console.log(color);
  }
}

logColors('White', 'Blue', 'Red', 'Yellow');
Enter a number
___

Create a free account to access the full topic