Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Map type

The Map.<K, V> type represents a hash map.

Map.<K, V>

Note: Property access on a Map equals data access. Method call on a Map equals a Map method use.

Instance usage

const map = new Map.<string, double>();

// x=10
map.x = 10;

const fns = new Map.<string, Function>();

// m=function
fns.m = function() 10;

// m()
trace((fns.m)());