+ 2

Why do we use closures in JavaScript?

23rd Apr 2018, 10:25 AM
Akhil Kumar Reddy Pasham
Akhil Kumar Reddy Pasham - avatar
3 Réponses
+ 4
umm....sometimes it's faster to declare variable sometimes readable or we need to edit outside variable
23rd Apr 2018, 12:28 PM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 2
23rd Apr 2018, 5:00 PM
Mike Choy
Mike Choy - avatar
+ 2
Thank you Mike!
24th Apr 2018, 3:22 AM
Akhil Kumar Reddy Pasham
Akhil Kumar Reddy Pasham - avatar