5- Variable Capture
1:56
2 Àwọn Àkọ́lé
1 Àwọn àgbègbè
43 àwọn àgbègbè
Àwọn Àkọ́lé
Àwọn àgbègbè
-
0:03Àkọ́lé 1: In the body of this lambda, we're using the message parameter that we have declared over here. 110s · Speaker 2
In the body of this lambda, we're using the message parameter that we have declared over here. But we can also access the local variables in the enclosing method. So I'm going to declare a variable called prefix and set it to hyphen. Now, h…