let sym3 = Symbol("key");. sym2 === sym3; // false, symbols are unique. Just like strings, symbols can be used as keys for object properties.
確定! 回上一頁