I have an array like this:
var array = ["ejemplo.com","otrositio.com","etcetera.net"];
And I want to display it in an textarea
as-is (with the brackets, commas, and quotes), that is, like this:
["ejemplo.com","otrositio.com","etcetera.net"]
In case it helps, I do it in order to create a custom code that users have to place, and in that code there must be an array, which is this.
I know how to add it to the textarea, for now I just need it to be stored in a normal variable like any string.