array - replacing, removing

PHOTO EMBED

Wed Nov 10 2021 15:37:13 GMT+0000 (Coordinated Universal Time)

Saved by @KarenStewart #javascript #react.js

//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();
content_copyCOPY