top of page
Search

Shift and unshift

zakariyesahid96
  • Shift removes from start.

  • Unshift adds to start.

  • An example of shift is

movieLIne.shift()

Tom

Let nextPatron=MovieLine.shift()


  • To demonstrate unshift:

Movieline.unshift('VIP’)

2 views0 comments

Recent Posts

See All

Commentaires


Post: Blog2_Post
  • Facebook
  • Twitter
  • LinkedIn

©2021 by zaktech96. Proudly created with Wix.com

bottom of page