source:
trip-planner-front/node_modules/core-js/features/instance/group-by.js
Last change on this file was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 259 bytes |
Line | |
---|---|
1 | var groupBy = require('../array/virtual/group-by'); |
2 | |
3 | var ArrayPrototype = Array.prototype; |
4 | |
5 | module.exports = function (it) { |
6 | var own = it.groupBy; |
7 | return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.groupBy) ? groupBy : own; |
8 | }; |
Note:
See TracBrowser
for help on using the repository browser.