O'Reilly logo
  • Ahmed Elgendy thinks this is interesting:

You can change the value of a property at any time. All you need to do is assign the property to a new value. Like, let’s say we wanted to set the mileage of our nifty Fiat to an even 10,000. You’d do it like this:


Cover of Head First JavaScript Programming


how to assign a value to an object property?