1042478910

Results 2 comments of 1042478910

可不可以理解 为 观察者模式没中间商赚差价 发布订阅模式 有中间商赚差价

let a = new Set([1, 2, 3]); let b = new Set([4, 3, 2]); let intersect = new Set([...a].filter(x => b.has(x))); // set {2, 3}