I would probably use the Javascript Map[1] by default, and fallback to a ployfill using Arrays for older browsers (if necessary).
[1]https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map On Apr 15, 2016, at 10:55 AM, lizhi <s...@qq.com> wrote: > and this is a > https://github.com/matrix3d/spriteflexjs/blob/master/src/flash/__native/ObjectMap.as. > but i do not know how > map[key] > > but and > map.get(key); > > > > -- > View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/FlexJS-ByteArray-and-Dictionary-tp52374p52379.html > Sent from the Apache Flex Development mailing list archive at Nabble.com.