2 lines
51 B
Text
2 lines
51 B
Text
def f = 10.map{ i -> { -> i * i } }
|
|
println f[5]()
|
def f = 10.map{ i -> { -> i * i } }
|
|
println f[5]()
|