📅  最后修改于: 2022-03-11 15:01:26.211000             🧑  作者: Mango
const array = ['a', 's', 'd', 'f'];
const last = array.pop();
console.log(last); // Returns 'f'
console.log(array); // Returns ['a', 's', 'd']