This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const classMap = new Map(); | |
/* | |
MapとObjectの違い。 | |
*/ | |
//ES6では新しくsymbolという型が定義された。こいつの場合は名前なしシンボルで | |
//symbolの引数はそのシンボルの説明。そのsymbol自身にアクセスはできない。 | |
const inheritPrototype = Symbol(); | |
const isAccessModifiers = Symbol(); |