DEVFYI - Developer Resource - FYI

What does the delete operator do?

JavaScript Interview Questions and Answers


(Continued from previous question...)

99. What does the delete operator do?

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.

(Continued on next question...)

Other Interview Questions