0.0.10 • Published 7 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 --save
Usage
require('array-prototype-last');
[1, 2, 3].last; //=> 3
[].last; //=> undefined
Contributing
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 test
Author
Alexander Ishchenko
License
Copyright © 2017 Alexander Ishchenko Released under the MIT license.