I have the following code that brings me 3 answers in the following way in the Javascript console:
"Prueba 1"
"Prueba 2"
"Prueba 3"
But I need you to show it to me together and not in 3 lines separately. To show it to me in one line:
"Prueba 1", "Prueba 2", "Prueba 3"
This is the For with which I bring the results by the 3 lines separately:
for(let i=0;i<respuesta.output.generic[0].options.length;i++){
var options = respuesta.output.generic[0].options[i].label;
console.log(options);
How could I get these results together?
Thank you very much!