+ 2

Why are variables and arrays not closures?

12th Aug 2016, 7:15 PM
‎‏‎‏‎Joe
‎‏‎‏‎Joe - avatar
3 Answers
+ 2
unlike closures., variables and arrays are containers to store values. They are not chunks of code that hold functionality.
13th Aug 2016, 9:01 PM
Abdelkader Ait Assou
Abdelkader Ait Assou - avatar
+ 8
thank you Abdelkader
18th Aug 2016, 8:46 AM
‎‏‎‏‎Joe
‎‏‎‏‎Joe - avatar
+ 3
abdelkader they are like containers, but they are objects
5th Oct 2016, 5:40 PM
Ryan Lewis
Ryan Lewis - avatar