hello
i wanna to define one variable in create…
like below
create(){
const test = 0
}
and use that in custom function out of create()
like below
testFunc(){
test++
}
update() {
this.testFunc()
}
how can i call test in another function?
thanks a lot