How JavaScript Closures Work: A Beginner-Friendly Guide | CodeTrail