first.js 179 B

123456789
  1. 'use strict';
  2. var firstIndex = require('./first-index');
  3. module.exports = function () {
  4. var i;
  5. if ((i = firstIndex.call(this)) !== null) return this[i];
  6. return undefined;
  7. };