What does the delete operator do in JavaScript?



What does the delete operator do in JavaScript?..

Answer / datta

delete operator deletes the property and its value

var student={age:30; branch:"CSE"};
delete student.age;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

what will happen and why if i will acess the methods of superclass which is declared as private by a object of same subclass.

0 Answers  


What is unobtrusive javascript?

0 Answers  


What are the basic groups of dataypes in JavaScript?

0 Answers  


What do “1”+2+4 evaluate to?

0 Answers  


What is variables in javascript?

0 Answers  






What is the importance of <script> tag?

0 Answers  


What is a function constructor?

0 Answers  


How can I learn coding fast?

0 Answers  


Who is the world famous hacker?

0 Answers  


What is strict mode?

0 Answers  


why can't we call a static method from a non-static method

0 Answers  


What are screen objects?

0 Answers  


Categories