Is there not a way to remove individual elements from an array without setting a range in splice? I prefer delete, but the problem is that it leaves an empty spot where the value used to be. Simply trying to loop through an array of values, splice will not just remove the values that match a regex.
How do you use the terminal there like you're doing? I have to use HTML then script then open in live server but the way you're doing it is so much easier