Anonymous function expressions ('fun(...) { ... }') and local functions (no closures yet).

This commit is contained in:
Dmitry Petrov
2016-08-26 12:39:27 +03:00
committed by Dmitry Petrov
parent 83c3bdd788
commit ac80195597
8 changed files with 73 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
fun outer() {
var x = 0
fun local() { x++ }
local()
}