title: I have constructed an array during the constructor of a class, is there a way to make it so every method recognises it?
body: <p>In the constructor I've built an array and I'm trying to take the .length of that array in another function within the class but it doesn't take the same array even though it's the same name it says that the array is empty.</p>