map can have function members by placing function declaration between the curly braces

This commit is contained in:
Francesco Cozzuto
2023-01-13 03:02:28 +01:00
parent 189bfa030b
commit 920b88c006
8 changed files with 208 additions and 131 deletions
+3 -1
View File
@@ -328,4 +328,6 @@ fun test() {
print("passed: ", passed, "\n");
print("failed: ", failed, "\n");
print(" total: ", total, "\n");
}
}
return {parse: parse, test: test};