0.0.10 • Published 8 years ago
array-prototype-last v0.0.10
array-prototype-last

Adds array.last property. Usage: 'a', 'b'.last //=> 'b'
Install
Install with npm:
$ npm install array-prototype-last --saveUsage
require('array-prototype-last');
[1, 2, 3].last; //=> 3
[].last; //=> undefinedContributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Running tests
Install dev dependencies:
$ npm install -d && npm testAuthor
Alexander Ishchenko
License
Copyright © 2017 Alexander Ishchenko Released under the MIT license.