10 lines
132 B
Plaintext
10 lines
132 B
Plaintext
fun outer() {
|
|
var x = "outside";
|
|
fun inner() {
|
|
print x;
|
|
}
|
|
return inner;
|
|
}
|
|
|
|
var closure = outer();
|
|
closure(); |