delete operator java script code example Example: what is the function of delete operator in javascript var student= {age:20, batch:"ABC"}; delete student.age;