nebulasio / wiki

This repository is out of date, please check the new wiki:
http://wiki.nebulas.io/en/latest/
GNU General Public License v3.0
421 stars 153 forks source link

请问如何存储类似于地址->列表的映射关系 #129

Closed leyle closed 6 years ago

leyle commented 6 years ago

比如一个地址有多条数据,如何用 map 存储起来。

Comdex commented 6 years ago

use Array(), such as var a = new Array(); a.push(something) map[key]=a