I was just wondering if the DELETE statement is supported by all browsers e.g:
delete myObj;
I just want to make 100% sure if all browsers support this or not?
Also is there any browser or maybe mobile (cell) phones that do not?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Mozilla’s Developer Center provides the following information:
So you can check your target browser against this for an idea of whether it’s supported at all or not.
Extreme testing of JavaScript delete operator on different browsers seems to suggest that nearly all major browsers do support it, just not equally well. Furthermore, the author provides an extreme test page for you to experiment with your browser online at http://www.trilancer.com/extreme_delete.html
I would also consider reading the following question for more details on how to property use the
deleteoperator: