上QQ阅读APP看书,第一时间看更新
Sets of values
You can use the of() method to create sets of values, as shown here:
const mySet = Set.of(1, 2, 3);
console.log('mySet', mySet.toJS());
// -> mySet [ 1, 2, 3 ]
You can use the of() method to create sets of values, as shown here:
const mySet = Set.of(1, 2, 3);
console.log('mySet', mySet.toJS());
// -> mySet [ 1, 2, 3 ]