On JavaScript, I've got an array of multiple variables: archive. First, I would like the page to display this table by skipping rows at each value of the table. Second, I want the alert to be "copiable" by the user. I achieved the first part that looks like that. https://i.stack.imgur.com/7Xtfh.png
However, it appears that the line :
var archive = archive.join("\n") blocks the copy feature of the alert.
My question is : is there a way to skip a line between values in an array AND makes it copiable by the user. (all of this in an alert javascript function).
Thanks in advance ! (if you need the code part of the archive array, let me know)