JavaScript-map和set
摘要:
Map var map = new Map([['tom',100],['jack',99],['ss',89]]); var name = map.get('tom'); map.delete('tom'); var map = new Map([['tom',100],['jack',99],[ 阅读全文
posted @ 2022-05-09 13:27 言语说 阅读(17) 评论(0) 推荐(0) 编辑