Sha256: a31ba6e364e137060eaf1ba87c5f78d86834a01f5564c2cd839678d2ec478a19

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents

'use strict';
var isPrototypeOf = require('../../internals/object-is-prototype-of');
var method = require('../array/virtual/slice');

var ArrayPrototype = Array.prototype;

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

Version data entries

4 entries across 4 versions & 1 rubygems

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