Static class methods are defined on the class itself. You cannot call a static method on an object, only on an object class.

JavaScript Class Static Methods

A static method is created with the "static" keyword, and you can only call the method on the class itself.

To use the "myCar" object inside the static method, you can send it as parameter.