Buat variabel kelas JS
class foo {
static myProp = 'bar'
someFunction() {
console.log(this.myProp)
}
}
Ill Impala
class foo {
static myProp = 'bar'
someFunction() {
console.log(this.myProp)
}
}