const p = new Rectangle(); // ReferenceError class Rectangle {} // functions can be called even before they are defined, but classes must be defined before they can be constructed.