test.js@b2e55f320d48
test.js
Fri, 15 Oct 2010 15:17:17 +0100
- author
- Matthew Wild <mwild1@gmail.com>
- date
- Fri, 15 Oct 2010 15:17:17 +0100
- changeset 0
- b2e55f320d48
- permissions
- -rw-r--r--
Initial commit
function hello(i)
{
var foo = i;
if(foo == 1)
return "Hello world! " + foo;
else if(foo == 2)
return "Haha!";
else
return "Goodbye!";
}
print(hello(1));
print(hello(2));
print(hello(3));