Home » Javascript » Difference between delete and $destroy

Difference between delete and $destroy

Posted by: admin June 30, 2018 Leave a comment

Questions:

I have been looking into memory leak management for angularjs and I have came across $destroy but in JavaScript there is already a delete keyword. Is there a difference between the two?

Answers: