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