.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / es / instance / for-each.js
1 var forEach = require('../array/virtual/for-each');
2
3 var ArrayPrototype = Array.prototype;
4
5 module.exports = function (it) {
6   var own = it.forEach;
7   return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.forEach) ? forEach : own;
8 };