Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

instruction Back

Using const with Arrays and Objects

When working with numbers, strings, and booleans, you learned that you could not change (or manipulate) the value of a constant through reassignment. The same goes for any value of a constant variable. You cannot reassign objects and arrays, either.

Unlike strings, numbers, and booleans, objects and arrays have methods and properties that modify the object or array. Let's review how objects ...