last.js 176 B

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