fixed code snippet in docs
This commit is contained in:
@@ -283,6 +283,7 @@ fun makeAdder(n) {
|
||||
fun adder(m) {
|
||||
return m + n;
|
||||
}
|
||||
return adder;
|
||||
}
|
||||
|
||||
add10 = makeAdder(10);
|
||||
|
||||
Reference in New Issue
Block a user