Push and pop
zakariyesahid96
Jan 31, 2022
1 min read
Push element adds to the end and pop removes from the send.
Shift removes from the start and unshift adds to the start.
For example:
movieLime.push('oliver')
With pop you do
let person=movieLine.pop()
"Person"=Pablo
Now moveline changes



Comments