node/test/fixtures/print-chars.js

12 lines
186 B
JavaScript
Raw Normal View History

2010-12-05 07:20:34 +08:00
var common = require('../common');
var assert = require('assert');
var n = parseInt(process.argv[2]);
2010-12-03 09:03:18 +08:00
var s = '';
2010-03-18 05:00:17 +08:00
for (var i = 0; i < n; i++) {
s += 'c';
}
2010-03-18 05:00:17 +08:00
process.stdout.write(s);