因为每个 unique symbols 都有个完全独立的身份,因此两个 unique symbols 类型之前不能赋值和比较。 复制到剪切板 const Foo = Symbol(); const Bar = Symbol(); // Error ...
確定! 回上一頁