Some ES6 functions

.pop() function removes last item of an array
.shift() function removes first item of an array

.push() function adds item to last position in array
.unshift() function adds item to first position in array

.splice(1,3) function gets elements in array

PT1602's Notebook

Saving code examples I searched multiple times.


By pt1602, 2020-03-21