// Our const object | |
const myObject = { | |
name: 'Thomas', | |
age: 99, | |
country: 'US' | |
}; | |
let secondObject = { | |
name: 'Chad', | |
age: 70, | |
country: 'CA' | |
} | |
// This is NOT allowed. We cannot reassign a const like this | |
myObject = secondObject; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment