Skip to content

Instantly share code, notes, and snippets.



Last active Aug 26, 2020
What would you like to do?
// 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