I need help on this problem – ‘What is the opposite of the JavaScript push();
method?’
Like say I had a array –
var exampleArray = ['remove'];
I want to push();
the word 'keep'
–
exampleArray.push('keep');
How do I delete the string 'remove'
from the array?