I don't understand why I'm getting the output:
var frenchWords;
fs = require('fs')
var data = fs.readFileSync('frenchVerbsList.txt', 'utf8');
frenchWords = data.split('\n');
console.log(Array.isArray(frenchWords)); //true
var x = frenchWords[0];
console.log("a: " + "look: " + x + typeof(x));
//outputs "stringk: abaisser"
I don't understand why the output isn't "a: look: abaisserstring"
Any explanation of what's going on will be gratefully received :-)
Gerard