zakariyesahid96Jan 30, 20221 min readPush and popPush 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 dolet person=movieLine.pop()"Person"=PabloNow moveline changes
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 dolet person=movieLine.pop()"Person"=PabloNow moveline changes
Comments