let symbol = (data) => { return Symbol(data) } console.log(symbol(1)==symbol(1)) 转载于:https://www.cnblogs.com/cs122/p/10123716.html