📅  最后修改于: 2022-03-11 15:02:57.947000             🧑  作者: Mango
var arguments = ['One', 'Two', 'Three'];
var middle = arguments.slice(1, -1); // will take away the 1st from the start and the 1st from the end
console.log(middle); // once logged it will only show 'Two'