Hello everyone, I am new to JavaScript and have a question about calling an array from another function within the same class. Here is an example code snippet:
class Something {
constructor () {}
async functionA () {
this.list = []
}
async functionB () {
console.log(this.list)
}
}