2019 Unicorn Enterprise Heavy Glour Recruitment Python Engineer Standard >>> 
Realize the prototype:
// START End array subscript
Array.prototype.remove = function(start, end) {
var rest = this.slice((end || start) + 1 || this.length);
this.length = start < 0 ? this.length + start : start;
return this.push.apply(this, rest);
};
Press the subscript
//Instructions
var foo = ["a", "b", "c", "d"];
/ / Delete the second element
foo.remove(1);
// Delete the second to fourth elements
foo.remove(1, 3);
Take a little bit