Skip to content

Set

构造器

js
const mySet = new Set();

实例属性

size

实例方法

add(value)

has(value)

delete(value)

clear()

entries()

keys()

values()

forEach(callback)

Coded by Yang_Lee