What is the output of the following code?
let fruitArray = ['apple','peach','lemon','lime']; let resultString = fruitArray.join('-'); // apple-peach-lemon-lime console.log(resultString);
Click to view the answer
apple-peach-lemon-lime