5- Variable Capture
1:56
2 Altaveus
1 Capítols
43 segments
Altaveus
Capítols
-
0:03Capítol 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…