Hi, I'm looking to create a function that will log every other value from an array. For example, if we have:
var myArray = [1,45,65,98,321,8578,'orange','onion'];
I want the console.log output to be 45, 98, 8578, onion... Does anyone have any suggestions on how to achieve this?