array-last

Array extractor

Returns the last element(s) in an array

Return the last element in an array. Faster than .slice

GitHub

35 stars
4 watching
14 forks
Language: JavaScript
last commit: almost 3 years ago
Linked from 1 awesome list

arrayelementjavascriptlastnodenodejsslice

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
jonschlinkert/array-first Returns one or more elements from the beginning of an array 11
jonschlinkert/in-array Returns true if a value exists in an array without searching the entire array or handling null values 16
jonschlinkert/arr-diff Returns an array with unique values from multiple arrays using strict equality comparisons 46
jonschlinkert/arr-flatten Utility function to flatten arrays by recursively iterating over their elements 60
juliangruber/isarray A polyfill for Array.isArray to support older browsers and Node.js versions. 132
jonschlinkert/normalize-pkg Tools to normalize package.json data for better compatibility and readability 18
component/indexof Finds the position of a specified element in an array 15
jonschlinkert/get-value A utility library that provides a simple way to access nested properties of objects using dot notation. 247
jonschlinkert/is-number Utility function to check if a value is a number or string representation of a number 262
paulmillr/array.prototype.findindex Polyfills ES6 Array.prototype.findIndex for older environments 28
jgranstrom/sass-extract Extracts structured variables from Sass files and makes them available in JavaScript for use in styles or dynamic content. 186
parro-it/map-array Converts key-value pairs of an object into a sorted array of key-value pairs 4
jonschlinkert/deep-bind Binds a context to all functions in an object and its nested functions 9
paulmillr/array.prototype.find Fills ES6 Array.prototype.find method in older environments 38
jscharting/jscharting-react A React wrapper for a popular JavaScript data visualization library 18