Sha256: ee5b25fd5fee3a9c656dec5b5ed49095bfb7bab7b610bdca413780ceaa621459

Contents?: true

Size: 346 Bytes

Versions: 4

Compression:

Stored size: 346 Bytes

Contents

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

var ArrayPrototype = Array.prototype;

module.exports = function (it) {
  var own = it.flat;
  return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.flat) ? 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/flat.js
decidim-0.26.9 packages/webpacker/node_modules/core-js/es/instance/flat.js
decidim-0.28.0.rc5 packages/webpacker/node_modules/core-js/es/instance/flat.js
decidim-0.28.0.rc4 packages/webpacker/node_modules/core-js/es/instance/flat.js