summaryrefslogtreecommitdiff
path: root/test/test.test
blob: af1bf7648fe1311f1ce6d72039f90f263d6479e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
const henshin: integer = 2; // comment
// next comment
var ply: string = "cool!";
ply = "way cooler!!";

const new: integer = henshin * 5 + 10;

const test: integer = 1 + 1;

function main(input: string): void {
  const hello: string = "world!";
  const bye: string = "bye!";

  return hello;
}

main(input = "hello!");

const array: [integer][3] = [1, 2, 3];
const map: [string][string or integer] = [
  "first": 1,
  "second": "two",
  "third": "3",
  "fourth": 4,
];