crear una variable de clase js
class foo {
static myProp = 'bar'
someFunction() {
console.log(this.myProp)
}
}
Ill Impala
class foo {
static myProp = 'bar'
someFunction() {
console.log(this.myProp)
}
}