Skip to content

Instantly share code, notes, and snippets.

@nevergone
Created May 31, 2021 09:53
Show Gist options
  • Save nevergone/3f40b44b6d7616842f8c5a2b3cc7a256 to your computer and use it in GitHub Desktop.
Save nevergone/3f40b44b6d7616842f8c5a2b3cc7a256 to your computer and use it in GitHub Desktop.
Comprehensive quick reference for Array methods

Comprehensive quick reference for Array methods

[,,,].map(  )  [,,,]

[,,,].filter(  true)  [,]

[,,,].find(  true)  

[,,,].findIndex(  true)  3

[,,,].indexOf(  true)  1

[,,,].fill()  [,,,]

[,,,].some(  true)  true

[,,,].every(  true)  false

Related links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment