удалить строку с массива JavaScript

// main array
let array = ['item 1', 'item 2', 'item 3'];

// adding new item at 2nd place / 1st index
array.splice(1, 0, 'new item 1');

// removing single item and return it from 3rd place / 2nd index
array.splice(2, 1);
Poor Platypus