Sha256: 3daf5131fa6734e94fac5f660ae9e8e999599e60f4ba5a2edfe37138b344bdc7

Contents?: true

Size: 620 Bytes

Versions: 4

Compression:

Stored size: 620 Bytes

Contents

'use strict';
require('../../modules/web.dom-collections.iterator');
var classof = require('../../internals/classof');
var hasOwn = require('../../internals/has-own-property');
var isPrototypeOf = require('../../internals/object-is-prototype-of');
var method = require('../array/virtual/values');

var ArrayPrototype = Array.prototype;

var DOMIterables = {
  DOMTokenList: true,
  NodeList: true
};

module.exports = function (it) {
  var own = it.values;
  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.values)
    || hasOwn(DOMIterables, classof(it)) ? method : own;
};

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
decidim-0.26.10 packages/webpacker/node_modules/core-js/stable/instance/values.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/stable/instance/values.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/stable/instance/values.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/stable/instance/values.js