Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

JavaScript Snippets

Prefix j.*

  • Conditional
    • if-else
    • switch
  • Console
    • console.dir
    • console.error
    • console.info
    • console.log
    • console.warn
  • DOM
    • addEventListener
    • appendChild
    • classList.add
    • classList.remove
    • classList.toggle
    • createDocumentFragment
    • createElement
    • getAttribute
    • getElementById
    • getElementsByClassName
    • getElementsByTagName
    • innerHTML
    • querySelectorAll
    • querySelector
    • removeAttribute
    • removeChild
    • setAttribute
    • textContent
  • Function
    • Anonymous Function
    • Function apply
    • Function call
    • Immediately-invoked function expression
    • Prototype
    • Function
  • JSON
    • JSON.parse
    • JSON.stringify
  • Loop
    • forEach
    • for in
    • for
  • Statements
    • new
    • require
  • Timer
    • setInterval
    • setTimeout