1.

Where are memory leaks found?(a) Client side objects(b) Server side objects(c) Both Client side and Server side objects(d) User side objectsThis question was addressed to me in an internship interview.My question is taken from JavaScript and Memory Leak topic in section Caching, Debugging and Animation of JavaScript

Answer»

The correct option is (a) Client side objects

Easiest explanation: MEMORY leaks happen when your code needs to CONSUME memory in your APPLICATION, which should be released after a given TASK is completed but isn’t. Memory leaks occur when we are developing client-side reusable scripting objects.



Discussion

No Comment Found

Related InterviewSolutions