forked from cory/tildefriends
Cory McWilliams
d293637741
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3530 ed5197a5-7fde-0310-b194-c3ffbd925b24
13 lines
282 B
JavaScript
13 lines
282 B
JavaScript
async function main() {
|
|
terminal.print("Hello, world!");
|
|
|
|
terminal.print("Please enter your name:");
|
|
var name = await terminal.readLine();
|
|
terminal.print("Hello, " + name + ".");
|
|
|
|
for (var i = 0; i < 5; i++) {
|
|
terminal.print(i.toString());
|
|
}
|
|
}
|
|
|
|
main().catch(terminal.print); |