js里定义map应该怎么写你所指的map无非就是有键值对的,json可以实现这点var a = {}a.one = 1a.two = 2a => Object {one: 1, two: 2}var b = {one:1, two:2}b =&2023-04-11JavaScript280