UNPKG

@iterable-iterator/reversed

Version:
3 lines (2 loc) 156 B
function*o(o){const t=[];for(const n of o)t.push(n);let n=t.length;for(;n;--n)yield t.pop()}export{o as reversed}; //# sourceMappingURL=index.modern.js.map