schala/closure.schala

12 lines
86 B
Plaintext

fn outer() {
fn inner(a) {
a + 10
}
inner(20) + 8.3
}
outer()