still the same problem here.
1 Like
.name
is a property of of surgeon class, not a method.
the getter method is “special”, the getter method gets called when you attempt to read the property