const chores = ["sweep", "mop", "laundry"]; const priority = []; for (i = (chores.length - 1); i >= 0; i--) { priority.push(chores[i]); } console.log(priority);
const chores = ["sweep", "mop", "laundry"]; const priority = []; for (i = (chores.length - 1); i >= 0; i--) { priority.push(chores[i]); } console.log(priority);