var car = new Object();
car.model = "Honda Fit";
car.year = 2004;
car.color = "Blue";
Now remove property:
delete car.year; // or delete car["year"];
The delete operator deletes both the value of the property and the property itself.
Note: If we use delete on an array, it will create a sparse array