Hello, I’m on the credit card checker project, and I need help accessing an arrays like so
let nums = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
// How do I access every other element starting from two?
//I want my output to be [2, 4, 6, 8, 10];
Thanks in advance!