You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
116 B
5 lines
116 B
15 years ago
|
// simple function scoping test
|
||
|
var a = 7;
|
||
|
function add(x,y) { var a=x+y; return a; }
|
||
|
result = add(3,6)==9 && a==7;
|