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. In web development, particularly in JavaScript, the delete operator is used to remove a property from an object. When applied to an array element, it can also remove the element … Read more