no response on stdout hackerrank javascript code example
Example 1: no response on stdout hackerrank javascript
//for javascript(nodejs)
//import fs
const fs = require('fs');
//stdout
fs.createWriteStream(process.env.OUTPUT_PATH).write("OUTPUT");
Example 2: ~ no output ~ on Javascript Hackerrank
// It will work on Javscript(nodejs), not sure about others
fs.createWriteStream(process.env.OUTPUT_PATH).write("Your Output");