Closed Nalini1998 closed 1 year ago
Which of the methods below does NOT change the array it is called on?
A/ .pop()
B/ .push()
C/ .slice()
D/ .shift()
I chose C/ .slice()
Which of the methods below does NOT change the array it is called on?
A/ .pop()
B/ .push()
C/ .slice()
D/ .shift()