symbol 值是通过调用Symbol 构造函数创建的。 ... TypeScript 4.3 中文 · Symbols ... let sym1 = Symbol(); let sym2 = Symbol("key"); //可选的字符串键.
確定! 回上一頁