In ES6, you can use symbols and be sure that they are always unique: ... In ECMAScript 5, one often represents concepts (think enum constants) via strings.
確定! 回上一頁