InterviewBuddy
All interview questions

In JavaScript, how would you explain WeakMap?

Beginner

Answer

A WeakMap stores values keyed by objects without keeping those keys alive solely through the map.