Skip to content

Instantly share code, notes, and snippets.

@santosh
Last active May 8, 2018 03:09
Show Gist options
  • Save santosh/a13b0481318cffe8c93dd424509fa4be to your computer and use it in GitHub Desktop.
Save santosh/a13b0481318cffe8c93dd424509fa4be to your computer and use it in GitHub Desktop.
List of #JavaScript global functions.
length() : specifies the string length
split(char) : splits the string by char
trim() : trims whitespaces from start and end
toUpperCase() : upper cases the entire string
toLowerCase() : lower cases the entire string
Mathematical:
parseInt() :
parseFloat() :
toFixed(int) : pads with zero else acts as round(); returns string
Arrays:
push() :
pop() :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment