InterviewSolution
Saved Bookmarks
| 1. |
What is the purpose of destroying the functions and objects?(a) Consume unnecessary CPU cycles(b) Prevent the dropping of reference count to 0(c) Centralize the responsibility to clean up(d) All of the mentionedI have been asked this question in an interview for internship.This intriguing question originated from JavaScript and Memory Leak topic in portion Caching, Debugging and Animation of JavaScript |
|
Answer» The correct ANSWER is (d) All of the mentioned |
|