ES6 static 关键字
ES6 static 关键字
'use strict';
class StaticMem {
static disp() {
console.log("Static 函数 called") ;
}
}
StaticMem.disp(); //invoke the static metho
'use strict';
class StaticMem {
static disp() {
console.log("Static 函数 called") ;
}
}
StaticMem.disp(); //invoke the static metho