Hi there,
General question on something that came up in the School Catalogue project (https://www.codecademy.com/paths/web-development/tracks/webdev-intermediate-javascript/modules/learn-javascript-classes/projects/school-catalog) in the JS Classes lesson.
The project asks you to call two different methods to get information:
lorraineHansbury.quickFacts();
and:
alSmith.sportsTeams;
I’m confused as to why one would include the “( )” and one would not. Is it because one is calling a method on the class vs the subclass? Or because one is calling a getter method and those are handled differently?
Thanks in advance for the help!
Ben