×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Nilesh Yadav
Added: Jun 8, 2017 5:44 AM
Views: 3
Tags: no tags
  1. arr.push : add an elements at the end
  2. arr.pop : remove an element from the end
  3. arr.shift: removes an element from top and reindex
  4. arr.unshift ; add insert an element at the top