How to delete some item from array?
You can delete by using splice method
// Real example
const colors = ['purple', 'black'];
// let say you want to delete purple color
console.log(colors); // ['black']
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.