var data = []; for (var i = 0; i < 5; i++) { data.push(i); } alert(data.join(','));
for(var i = 1; i <= 100; i++) process.stdout.write(i+", ")