The delete keyword is used to delete the property as well as its value.
Example
var student= {age:20, batch:"ABC"}; Delete student. age;
The delete keyword is used to delete the property as well as its value.
Example
var student= {age:20, batch:"ABC"}; Delete student. age;