src/utils/expand/expand.js @@ -24,3 +24,9 @@ } return fmt; }; Array.prototype.lastCount = function (size) { const l = this.length; const s = size > this.length ? 0 : this.length - size; return this.slice(s, l); };