InterviewBuddy
All interview questions

In JavaScript, what is a concrete example of WeakMap?

Intermediate

Answer

Cache per-node metadata without retaining removed nodes.