faziz6006 (3)

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
vedprad1 (887)

If you are using JavaScript, you can use the push() method.

If you are using Java, you can make a new array with a larger size, copy the elements from the original array, and put your snack as the last element.

If this answers your question, please check the checkmark on the left side of this message. Thanks and Good Luck!

faziz6006 (3)

@vedprad1 is there any way you could help me more? im doing the precourse work and i need help lol im stuck on these four questions