Skip to content

Instantly share code, notes, and snippets.

@dotku
Created May 21, 2019 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dotku/e34c8b2717dc9a6ee6a1faeb7ee3761b to your computer and use it in GitHub Desktop.
Save dotku/e34c8b2717dc9a6ee6a1faeb7ee3761b to your computer and use it in GitHub Desktop.

Commonly Used JavaScript Concept

  1. You can find everything from here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
  2. Here I list commonly used JavaScript concepts, treat it as cheetsheet for quick learn.

Value

Value Note
NaN not a number
undefined
null null is actually a object type

Function

  • parseInt
  • parseFloat
  • isNaN

Fundamental Object

  • Object
  • Function
  • Boolean
  • Error
  • ReferenceError
  • SyntaxError
  • TypeError

Number and Date

  • Number
  • Math
  • Date

Text Processing

  • String
  • RegExp, // it is very useful

Collection

  • Array
  • Map
  • Set

Data Flow

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