javascirpt array methods code example
Example: js remove element from array
let arrDeletedItems = array.splice(start[, deleteCount[, item1[, item2[, ...]]]])
let arrDeletedItems = array.splice(start[, deleteCount[, item1[, item2[, ...]]]])