Meta Frontend Virtual Onsite

Just finished the interview and wanted to share some feedback.

  1. DOMStore: Pay attention to the fact that a new local store will be generated when creating a new instance.
  2. clearAllTimeout: Pay attention to whether there is a memory leak in the implementation. Remember to delete the saved timer ID after the function call is completed and after clearTimeout. Also remember error h‍‌‌‌‌‌‌‌‌‌‌‌‍‍‍‌‌‌‍‍‍‌‌andling.