values.js 253 B

12345678
  1. var values = require('../array/virtual/values');
  2. var ArrayPrototype = Array.prototype;
  3. module.exports = function (it) {
  4. var own = it.values;
  5. return it === ArrayPrototype || (it instanceof Array && own === ArrayPrototype.values) ? values : own;
  6. };