new.target points to the initial constructor
class Project {
constructor() {
console.log( new.target );
}
}
class SoftwareProject extends Project {
constructor() {
super();
}
}
var sp = new SoftwareProject();
// constructor() {
// super();
// }