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

How fast can you learn coding?

0 Answers  


how to disable source option at view menu in browser like internet explorer...mozilla...etc..pls help me...

2 Answers   IIS,


How can javascript be used to improve the "look and feel" of a web site? By the same token, how can javascript be used to improve the user interface?

0 Answers  


What is called variable?

0 Answers  


What are the valid scopes of a variable in JavaScript?

0 Answers  






Write a javascript program to make a simple calculator

11 Answers   Anand Group, TCS,


How do I get javascript?

0 Answers  


How do I save javascript?

0 Answers  


When selecting the states by giving the country as input using ajax cal, how can we ensure that every time it is hitting the DB and fetching the data? Many time it may load from the cache.

1 Answers   CTS, GE,


Do unused imports affect performance javascript?

0 Answers  


What boolean operators can be used in JavaScript?

0 Answers  


What is the difference between let and var?

0 Answers  


Categories