es6 Iterator polyfill first version