array-last-g

Get the last or last n elements in an array.Study from Jon Schlinkert/array-last.

Usage no npm install needed!

<script type="module">
  import arrayLastG from 'https://cdn.skypack.dev/array-last-g';
</script>

README

array-last

Return the last element in an array. Faster than .slice .Study from jonschlinkert/array-last.

Study from Jon Schlinkert/array-last.