map.setkey
时间: 2024-01-24 17:03:43 浏览: 127
mapsetup 地图
map.set(key)是Map对象的方法,用于根据键存储值。其中,key表示要存储的键。通过调用该方法,可以将键值对(key, value)添加到Map对象中。\[1\]\[2\]
#### 引用[.reference_title]
- *1* *2* [javascript之Map 和 Set](https://blog.csdn.net/chehec2010/article/details/119844095)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Map和Set集合](https://blog.csdn.net/qq_50985215/article/details/124894732)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文