This might be a silly question, but I wanted to see if there were any best practices in terms of what to assign to a CONST or LET variable. I understand CONST variables cannot be reassigned once declared, but I noticed that by assigning an object to a CONST variable, you can update the contents of the object.
const person = {
name: "John"
}
console.log(person.name) => //"John"
person.name = "Kim"
console.log(person.name) => //"Kim"
Would this be considered bad practice? If not, why not use LET variable?