JS

JavaScript (JS) is a language for creating web content.

Examples

Declarations

const

let

var

Conditional Statements

if

else

else if

switch

try catch

Loops

do while

for

for in

for of

while

AbortController

abort

AbortController

signal

ChildNode

after

before

remove

replaceWith

CustomEvent

CustomEvent

detail

Event

bubbles

cancelable

composed

composedPath

currentTarget

defaultPrevented

Event

eventPhase

isTrusted

preventDefault

stopImmediatePropagation

stopPropagation

target

timeStamp

type

EventTarget

addEventListener

dispatchEvent

EventTarget

removeEventListener

HTMLCollection

item

length

namedItem

NodeList

item

length

NonDocumentTypeChildNode

nextElementSibling

previousElementSibling

ParentNode

append

children

firstElementChild

lastElementChild

prepend

querySelector

querySelectorAll

replaceChildren

Other

Array

Comments

Enable

Functions

alert

confirm

createContextualFragment

Date

getElementById

getElementsByClassName

getElementsByTagName

getElementsByTagNameNS

Infinity

innerHTML

insertAdjacentHTML

outerHTML

print

prompt

Home Menu