Skip to content

A cherry picked list of the most usefull methods and functions available for you, in JS

License

Notifications You must be signed in to change notification settings

nan-ci/js-methods

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

js-methods

A cherry picked list of the most usefull methods and functions available for you, in JS

String

String - Transform

slice, split, replace, toUpperCase, toLowerCase, trim, trimRight, trimLeft, padStart, padEnd

String - Search

includes, startsWidth, endsWith, indexOf, lastIndexOf, charCodeAt

Math

min, max, abs, sign, round, floor, ceil, trunc, random*

Arrays

Array.from, Array.isArray, fill*

Arrays - Search

find, findIndex, includes, indexOf, lastIndexOf

Arrays - Transform

concat, join, slice, pop*, push*, shift*, unshift*, splice*

Array - Re-order

reverse*, sort*

Arrays - Functionnal Iteration

forEach, filter, some, every, map, reduce, reduceRight

(*) methods in italics are NOT pure (using them with the same arguments won't return the same result).
They must be used with caution as it is harder to predict their results

NaN.ci

About

A cherry picked list of the most usefull methods and functions available for you, in JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published