0

Can someone help me understand more about defining methods inside constructor functions

1st Jan 2018, 8:42 PM
Too Vincent
Too Vincent - avatar
2 Answers
+ 1
Like lambda expressions? Closures? What language are you talking about?
2nd Jan 2018, 1:43 AM
LunarCoffee
LunarCoffee - avatar
0
You can't. You define methods outside the constructor and can call them inside.
1st Jan 2018, 11:35 PM
josh mizzi
josh mizzi - avatar