js删除数组最后一个元素

it2025-09-02  5

truncate(arr) { return arr.filter(function(v, i, ar) { return i !== ar.length - 1 }) },
最新回复(0)