//edit an array (this will change the array called "numbers" from [1,2,6,7] to [1, 2,8,7]) numbers[2] = 8 //remove from an array (from the beginning) numbers.shift();
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter