InterviewSolution
Saved Bookmarks
| 1. |
What will happen when the data of the jQuery.cache is read from an element?(a) Unique number is retrieved as elem[jQuery.expando](b) Data is read from jQuery.cache[id](c) Unique number is retrieved as elem[jQuery.expando] & Data is read from jQuery.cache[id](d) Data is cleared from jQuery.cache[id]I have been asked this question during an interview.Enquiry is from JavaScript and Memory Leak topic in chapter Caching, Debugging and Animation of JavaScript |
|
Answer» The correct choice is (C) UNIQUE number is retrieved as elem[jQuery.expando] & Data is READ from jQuery.cache[id] |
|