// using constructor function function Person () { this.name = 'Sam' } let person1 = new Person(); let person2 = new Person();