Sha256: ce39863c7f12eedaecf2e2719c2ef3d99bc0d9ed05e366055db472e7c4dcdb1c
Contents?: true
Size: 683 Bytes
Versions: 3
Compression:
Stored size: 683 Bytes
Contents
require('./es.array.iterator'); var DOMIterables = require('../internals/dom-iterables'); var global = require('../internals/global'); var hide = require('../internals/hide'); var Iterators = require('../internals/iterators'); var wellKnownSymbol = require('../internals/well-known-symbol'); var TO_STRING_TAG = wellKnownSymbol('toStringTag'); for (var COLLECTION_NAME in DOMIterables) { var Collection = global[COLLECTION_NAME]; var CollectionPrototype = Collection && Collection.prototype; if (CollectionPrototype && !CollectionPrototype[TO_STRING_TAG]) { hide(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); } Iterators[COLLECTION_NAME] = Iterators.Array; }
Version data entries
3 entries across 3 versions & 1 rubygems