web.dom-collections.iterator.js 441 B

1234567891011
  1. 'use strict';
  2. require('../modules/es.array.iterator');
  3. var DOMIterables = require('../internals/dom-iterables');
  4. var globalThis = require('../internals/global-this');
  5. var setToStringTag = require('../internals/set-to-string-tag');
  6. var Iterators = require('../internals/iterators');
  7. for (var COLLECTION_NAME in DOMIterables) {
  8. setToStringTag(globalThis[COLLECTION_NAME], COLLECTION_NAME);
  9. Iterators[COLLECTION_NAME] = Iterators.Array;
  10. }