Sha256: ade0b45863721467d57fa8cae949e57624c2b69e87a762d3ca03e37f1a7f7c6d

Contents?: true

Size: 354 Bytes

Versions: 8

Compression:

Stored size: 354 Bytes

Contents

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

var ArrayPrototype = Array.prototype;

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

Version data entries

8 entries across 4 versions & 1 rubygems

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