polyfills.Symbol.iterator.min.js Maven / Gradle / Ivy
The newest version!
Object.defineProperty(Symbol,"iterator",{value:Symbol("iterator")}),function(t,n,r){function e(){return this}n[t]||(n[t]=function(){var n=0,r=this,o={next:function(){var t=r.length<=n;return t?{done:t}:{done:t,value:r[n++]}}};return o[t]=e,o}),r[t]||(r[t]=function(){var n=String.fromCodePoint,r=this,o=0,i=r.length,u={next:function(){var t=i<=o,e=t?"":n(r.codePointAt(o));return o+=e.length,t?{done:t}:{done:t,value:e}}};return u[t]=e,u})}(Symbol.iterator,Array.prototype,String.prototype);