forked from cory/tildefriends
All of the changes that have been sitting on tildepi for ages. For posterity.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3530 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
13
packages/cory/test/test.js
Normal file
13
packages/cory/test/test.js
Normal file
@ -0,0 +1,13 @@
|
||||
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);
|
Reference in New Issue
Block a user