Playing around with some code I found and the results do not make sense to me.
I do not understand why the REPL thinks the array is one long string value.. I have done nothing to indicate this is a string and I am wondering why the console is giving me the following result.
F = (...x) => x.map(v => x+1)
//ACTUAL
F([1,2,3]) //["1,2,31"]
//EXPECTED
F([1,2,3]) //[2,3,4]
var F =(...x) => x.map(v => x+1)
var result = F([1,2,3]);
console.log(result);