wishthis/node_modules/es5-ext/array/#/last.js

10 lines
176 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
"use strict";
var lastIndex = require("./last-index");
module.exports = function () {
var i;
if ((i = lastIndex.call(this)) !== null) return this[i];
return undefined;
};