My array contains the following items:
let array=["First", "Second"]
I want to display each item on a separate line (without commas), like this:
First
Second
I attempted splitting the array using:
let data.split("\n")
However, the output was:
["First,Second"]
How can I properly format and display each item from the array without the comma?