javasscript associative array code example Example: javascript init associative array Click to copyvar arr = { "one": 1, "two": 2, "three": 3 };