From the screenshot, we can tell that as of when you did console.log, the array was empty, but later, when you expanded that entry in the console, it had four entries. See the linked question and its answers for details. So you'll need to find out what event or similar you need to respond to that occurs when the array has had entries added to it (or post a minimal reproducible example so we can help you figure it out).
console.log, the array was empty, but later, when you expanded that entry in the console, it had four entries. See the linked question and its answers for details. So you'll need to find out what event or similar you need to respond to that occurs when the array has had entries added to it (or post a minimal reproducible example so we can help you figure it out).