1//My Opinion is really nothing. They are the same exept one adds a element2//to the end and the other one adds a element to the front3// Push Method4var array = [2];//your random array5array.push(3)
6// Unshift Method7array.unshift(1)
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content