PLEASE HELP
faziz6006 (2)

Exercise Two: you will be given an array called 'snacks'
// Using an array method, add your favorite snack to the end of the array

You are viewing a single comment. View All
DeShawnKeller (0)

Did you ever get the answer to this?? I cannot figure this one out for nothing!! What I got so far--------

function exerciseTwo(snacks){
// Exercise Two: you will be given an array called 'snacks'
// Using an array method, add your favorite snack to the end of the array
function exerciseTwo(snacks){
var snacksArray = ["chips", "popcorn", "ice cream"];
snacksArray.push('oreo');

}