constructor(brand, color) {
//------------------------------------------------
//method declared using regular function syntax
//------------------------------------------------
var car1 = new Car("ferrari", "red");
console.log(car1.color); //red
console.log(car1.color); //black
constructor(name, email, pw) {
//------------------------------------------------
//method declared using arrow function syntax
resetPassword = () => this.passwordHash = ".";
//------------------------------------------------
console.log(user1.passwordHash); //xxxx...xxxx
console.log(user1.passwordHash); //.