main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
366 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 | var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
---|
3 | var method = require('../array/virtual/group-to-map');
|
---|
4 |
|
---|
5 | var ArrayPrototype = Array.prototype;
|
---|
6 |
|
---|
7 | module.exports = function (it) {
|
---|
8 | var own = it.groupToMap;
|
---|
9 | return it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.groupToMap) ? method : own;
|
---|
10 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.