11.7.1. Joining Array Elements With a Loop // Functions
/*Use a for loop to iterate through the array and add each entry into
the newString variable.*/
let arr = ['L', 'C', '1', '0', '1'];
let newString = '';
for (i = 0; i < arr.length; i++){
newString = newString + arr[i];
}
console.log(newString);
console.log(arr);
'LC101'
['L', 'C', '1', '0', '1']