javascript associative array compastibility code example Example: javascript init associative array var arr = { "one": 1, "two": 2, "three": 3 };