mirror of
https://github.com/hi-language/transpiler.git
synced 2026-01-14 16:48:39 +00:00
12 lines
256 B
JavaScript
12 lines
256 B
JavaScript
// Test: Declaration (:) of a string and output (_)
|
|
message: "Testing primitives..."
|
|
_(message)
|
|
|
|
// Test: Declaration of a number
|
|
count: 1
|
|
_("Initial count:", count)
|
|
|
|
// Test: Assignment (=) and a simple expression
|
|
count = count + 1
|
|
_("New count:", count)
|