diff buy.js @ 79:343dc947f999 laserkard

read JavaSctipt: the good parts
author Robert McIntyre <rlm@mit.edu>
date Sun, 25 Jul 2010 01:33:22 -0400
parents
children
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/buy.js	Sun Jul 25 01:33:22 2010 -0400
     1.3 @@ -0,0 +1,5 @@
     1.4 +function hello(who) {
     1.5 +    alert('Hello '+who);   // outputs "Hello world"
     1.6 +}
     1.7 +
     1.8 +hello('world');