const person = { _age: 37, set age(newAge){ if (typeof newAge === 'number'){ this._age = newAge; } else { console.log('You must assign a number to age'); } } }; /* We can perform a check for what value is being assigned to this._age. When we use the setter method, only values that are numbers will reassign this._age There are different outputs depending on what values are used to reassign this._age. */