Basic JavaScript Question:
Download Questions PDF

What does the delete operator do?

Answer:

The delete operator is used to delete all the variables and objects used in the program ,but it does not delete variables declared with var keyword.

Download JavaScript Interview Questions And Answers PDF

Previous QuestionNext Question
What's the Date object using JavaScript? How to delete an array entry using JavaScript?