javascript - Difference between declaring in constructor and outside of constructor - Stack Overflowhttps://stackoverflow.com/questions/41983492/difference-between-declaring-in-constructor-and-outside-of-constructor