mirror of
https://github.com/hi-language/transpiler.git
synced 2026-01-14 00:28:05 +00:00
Delete test/blocks.hi
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
// Test: Block as a data structure (object)
|
|
||||||
config: {
|
|
||||||
version: "1.0"
|
|
||||||
author: "Master"
|
|
||||||
}
|
|
||||||
_("Config version:", config.version)
|
|
||||||
|
|
||||||
// Test: Block as an executable function (with params and implicit return)
|
|
||||||
add: (a, b) {
|
|
||||||
a + b
|
|
||||||
}
|
|
||||||
result: add(5, 10)
|
|
||||||
_("Function result:", result)
|
|
||||||
Reference in New Issue
Block a user