top of page
Search
zakariyesahid96

Shift and unshift

  • 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

Comments


Post: Blog2_Post
bottom of page