plase help how do i do this
faziz6006 (2)

Exercise Three: You will be given an array called 'tasks'
// Using an array method, remove the task from the end of the array

You are viewing a single comment. View All
Answered by vedprad1 (732) [earned 5 cycles]
View Answer
vedprad1 (732)

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

If you are using Java, you can make a new array with a smaller size and copy the elements from the original array to the new one except the last element.

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