From b858cc223a936a522bb5f88065f6686489841955 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 8 Jul 2024 15:03:42 +0200 Subject: array and map --- test/test.test | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test.test b/test/test.test index 2ffe743..af1bf76 100644 --- a/test/test.test +++ b/test/test.test @@ -14,4 +14,12 @@ function main(input: string): void { return hello; } -main(test); +main(input = "hello!"); + +const array: [integer][3] = [1, 2, 3]; +const map: [string][string or integer] = [ + "first": 1, + "second": "two", + "third": "3", + "fourth": 4, +]; -- cgit v1.2.3