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 is the difference between ‘function declaration’ and ‘function expression’?

0 Answers  


Why is javascript so hard?

0 Answers  


How to have an element invoke a javascript on selection, instead of going to a new url?

0 Answers  


What is a currying function?

0 Answers  


Is a function an object?

0 Answers  






What is undefined x 1 in JavaScript?

0 Answers  


write a program to generte a harmonic series 1+1/2+1/3+1/4+1/5 upto 15 terms.

1 Answers  


What does the term sticky session mean in a web-farm scenario?

0 Answers  


What’s a way to append a value to an array?

0 Answers  


What is a null variable?

0 Answers  


What is the default data type in javascript?

0 Answers  


What is an Event Bubbling in Javascript?

0 Answers  


Categories