mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 11:28:38 +00:00
11 lines
119 B
JavaScript
11 lines
119 B
JavaScript
a=1;
|
|
for (i=0; i<10; i++){
|
|
a = inc (inc(a));
|
|
}
|
|
|
|
c = a+2;
|
|
|
|
// Increment function
|
|
function inc (b){
|
|
return b+1;
|
|
} |