...

/

Setting & Deleting Properties

Setting & Deleting Properties

This lesson will teach you how to set properties using dot operators or square brackets, and how to delete properties.

We'll cover the following...

Setting Values Using Dot Notation #

A property being accessed by the dot operator can be set/updated using the assignment operator (=).

Example #

Let’s take a look at an example to see the ...