JavaScript

Working notes on JavaScript: Array, Conversions, Document Object Model, Dynamic elements, Geo location, and Timer, and related topics.

Simple Icons contributors / Simple IconsCC0 1.0

Working notes on JavaScript: Array, Conversions, Document Object Model, Dynamic elements, Geo location, and Timer, and related topics.

Working notes on JavaScript: Array, Conversions, Document Object Model, Dynamic elements, Geo location, and Timer, and related topics.

Topics

Array

Acts in-place.

Conversions

Round off to decimal places.

Document Object Model

Data structures.

Dynamic elements

Dynamic elements: var <element> = document.createElement(“<>”);, var <element>.<attribute> = <value>;, and <element>.<attribute> container.appendChild(<eleme.

Geo location

Var x = document.getElementById("demo");.

Timer

SetTimeout(function, timeout [, language : JScript | VBScript | JavaScript);.

Variables

  1. Primitive assignment actually creates disconnected copies.
Updated: 2026 Aug 19