Skip to content

branespace/somearrayfunctions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

somearrayfunctions

A simple collection of array functions with associated mocha-chai unit tests.

  • Pop - remove and return element from last array index
  • Push - add element to end of array and return new array length
  • Shift - remove and return element from the first array index
  • Unshift - add element to front of array and return new array length
  • Unique - returns a copy of an array with no duplicate entries
  • Frequency2 - takes an array of words and returns the most common letter

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages