I am defining an object like this:
function Project(Attributes, ProjectWidth, ProjectHeight) { this.ProjectHeight = ProjectHeight; this.ProjectWidth
To add to @wprl's answer, the ES6 object method shorthand, like the arrow functions, cannot be used as a constructor either.