remove-first-element
JavaScript Package For Removing First Element Of An Array. And It Also Return The Element.
Features
Install
npm install --save remove-first-element
Script Tag
For Development
<script src="https://rawgit.com/Prosen-Ghosh/remove-first-element/master/remove-first.js"></script>
For Production
<script src="https://cdn.rawgit.com/Prosen-Ghosh/remove-first-element/90851024/remove-first.js"></script>
Usage
const removeFirst = ; ;//=> null ;//=> 10 ;//=> {} ;//=> [] ;//=> 'foo' ;//=> [Function] ;//=> TypeError: removeFirst() expects an array parameter
Author
Prosen Ghosh prosenghosh25@gmail.com (https://bd.linkedin.com/in/prosen-ghosh-baba9aa8)
License
- MIT