Menu Home

JS

osbo.com | 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

Other

Array

Comments

Enable

Functions

alert

confirm

createContextualFragment

Date

getElementById

getElementsByClassName

getElementsByTagName

getElementsByTagNameNS

innerHTML

insertAdjacentHTML

outerHTML

print

prompt