@jajoosam/

henlo frans

Nodejs

No description

fork
loading
Files
  • index.js
  • henlo.txt
index.js
1
2
3
4
5
6
7
8
9
10
const fs = require('fs');

const henlo = fs.createWriteStream('henlo.txt');

let count = 0;

setInterval(() => {
  henlo.write(`${count}`);
  count++;
}, 1000);
node v10.16.0