I am aware pop() will remove the last element in a JS array, and that shift() will remove the first one, and that slice() lets you remove elements from an array - and that you can specify what position to start at, and how many to remove, like so:
let cities = ["New York", "Tokyo", "Perth", "Helsinki"];
cities.splice(2, 2);
console.log(cities);
What I'm wondering is if there's a method you can use to start at a certain array position, and remove any additional elements beyond that number?