Collections

Loading...

Overview

See MDN 'Expressions and operators'

Indexed Collections

Array

[element0, element1, ..., elementN] new Array(element0, element1, ..., elementN) new Array(arrayLength)

Structured Data

ArrayBuffer

ArrayBuffer ArrayBuffer(unsigned long length)

DataView

DataView DataView(ArrayBuffer buffer, optional unsigned long byteOffset, optional unsigned long byteLength)

JSON

JSON.parse(jsonString);