What causes memory leaks in JavaScript? | Garbage Collector | javascript Interview Questions | NextRound.in