Closed Nalini1998 closed 1 year ago
const myArray = ['item 0', 'item 1', 'item 2']; myArray.push('item 3'); myArray.pop(); console.log(myArray);
A. ['item 0', 'item 1', 'item 2', 'item 3']
B. ['item 0', 'item 1', 'item 2']
C. ['item 1', 'item 2', 'item 3']
I chose B
A. ['item 0', 'item 1', 'item 2', 'item 3']
B. ['item 0', 'item 1', 'item 2']
C. ['item 1', 'item 2', 'item 3']