+ 2

Can we also assign ordinary function in variable?

Just notice how can we assign lambdas function to a variable.

1st Aug 2017, 10:51 AM
Zar Ni Myo
Zar Ni Myo - avatar
1 Answer
+ 1
Assigning a function to a variable is essentially calling a method on an object. So i guess yes and no
1st Aug 2017, 10:45 PM
James Cooke