js two readlines in array code example
Example: javascript add line from file to array
var fs = require('fs');
var myArray = fs.readFileSync('test.txt', 'utf8').split('\n');
var fs = require('fs');
var myArray = fs.readFileSync('test.txt', 'utf8').split('\n');