📜  对象集 js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:29.703000             🧑  作者: Mango

代码示例2
let nombres = [10, 45, 75, 10 ,24,45 ] ;
//let monSet = new Set(nombres) ;
let monSet = new Set() ;

monSet.add('100') ;
monSet.add('280') ; 
//monSet.delete('100');

console.log(monSet.size) ;