Sha256: d6a91d25b7923fdd4881c2c5fe133edf339b4bf5f45b79dc18f4f37b6a7e5cee
Contents?: true
Size: 523 Bytes
Versions: 25
Compression:
Stored size: 523 Bytes
Contents
require('../../modules/web.dom-collections.iterator'); var values = require('../array/virtual/values'); var classof = require('../../internals/classof'); var ArrayPrototype = Array.prototype; var DOMIterables = { DOMTokenList: true, NodeList: true }; module.exports = function (it) { var own = it.values; return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.values) // eslint-disable-next-line no-prototype-builtins || DOMIterables.hasOwnProperty(classof(it)) ? values : own; };
Version data entries
25 entries across 25 versions & 7 rubygems