It’s would just give that class a name. If I were to console.log(“car.name”), it would return “Toyota”. The name is local to the classes body.

Ah, I think I understand all the confusing bits about class, thanks for teaching me!

code of conduct - report abuse