Basic JavaScript Question:

What does the delete operator do?

Tweet Share WhatsApp

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 PDF Read All 114 JavaScript Questions
Previous QuestionNext Question
What's the Date object using JavaScript? How to delete an array entry using JavaScript?