export function main and log.
Goal
Log hello as a number code and a string.
@external("env", "log")
declare function log(n: i32): void;
@external("env", "logStr")
declare function logStr(s: string): void;
export function main(): void {
log(1);
}@external("env", "log")
declare function log(n: i32): void;
@external("env", "logStr")
declare function logStr(s: string): void;
export function main(): void {
logStr("Hello, AssemblyScript");
}@external("env", "log")
declare function log(n: i32): void;
@external("env", "logStr")
declare function logStr(s: string): void;
export function main(): void {
logStr("Nairobi kiosk");
log(12);
}@external("env", "log")
declare function log(n: i32): void;
@external("env", "logStr")
declare function logStr(s: string): void;
export function main(): void {
log(40);
}