What is the "get" keyword before a function in a class?
The ''get'' lets you treat a class method, as if it were a simple property in an object. If you leave off the ''get'', you can still access the value by calling .area () instead of just .area
Contact Us