0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test/fixtures/print-chars.js
2010-07-15 14:21:31 -07:00

12 lines
173 B
JavaScript

common = require("../common");
assert = common.assert
var n = parseInt(process.argv[2]);
var s = "";
for (var i = 0; i < n; i++) {
s += 'c';
}
process.stdout.write(s);