class Person { constructor(name) { this.name = name; } } console.log(Person.prototype.constructor) /*will yield class Person{constructor(name)}*/