use latest-hare example
This commit is contained in:
parent
56462f0d1b
commit
70c5618eca
|
@ -27,17 +27,17 @@ let jar = CodeJar(document.querySelector('.editor'), highlight)
|
||||||
const defaultCode = `use fmt;
|
const defaultCode = `use fmt;
|
||||||
|
|
||||||
export fn main() void = {
|
export fn main() void = {
|
||||||
const greetings = [
|
const greetings = [
|
||||||
"Hello, world!",
|
"Hello, world!",
|
||||||
"¡Hola Mundo!",
|
"¡Hola Mundo!",
|
||||||
"Γειά σου Κόσμε!",
|
"Γειά σου Κόσμε!",
|
||||||
"Привіт, світ!",
|
"Привіт, світ!",
|
||||||
"こんにちは世界!",
|
"こんにちは世界!",
|
||||||
];
|
];
|
||||||
for (let i = 0z; i < len(greetings); i+= 1) {
|
for (let greeting .. greetings) {
|
||||||
fmt::println(greetings[i])!;
|
fmt::println(greeting)!;
|
||||||
};
|
};
|
||||||
};`
|
};`;
|
||||||
|
|
||||||
if (location.hash) {
|
if (location.hash) {
|
||||||
let code = base64Decode(location.hash.substr(1));
|
let code = base64Decode(location.hash.substr(1));
|
||||||
|
|
Loading…
Reference in a new issue