Consider the following code:
var firstNames = fs.readFileSync("firstnames.txt").toString().split("\\n"); var lastNames = fs.readFileSync("