Menu
I’m just wondering if anyone can help me with an issue:
Say I have either of the examples below:
var fruits = new Array(“lemon”, “apple”, “orange”, “lime”)
or
var fruits = new Array()
fruits[0] = “lemon”;
fruits[1] = “apple”;
fruits[2] = “orange”;
fruits[3] = “lime”;
Now, why, if I use the concat(), do I receive an “unidentified” attached to the end?
fruits[0].concat(fruits[3]);
I’m looking for “lemonlime”, not “lemonlimeunidentified”…