var array1 = ["hello", "sam", "how"];
var emptyArray2 = [];
array1.join(" ");
I need to take out first letter and last letter of every element in array1 and push it to emptyArray2. I dont know what to do after converting it to a string. I think i need to use a for loop to go through it , then how would I pull out the first and last letter in every element and push to emptyArray2?