Skip to content

Map

构造器

js
const map = new Map();

实例属性

size

实例方法

set(key, value)

has(key)

delete(key)

get(key)

clear()

keys()

values()

entries()

forEach(callback)

Coded by Yang_Lee