function Person() { this.name = 'Jack'; console.log(this); } let person1 = new Person(); console.log(person1.name);