Answer the question
In order to leave comments, you need to log in
How to correctly compose a link from a js array?
Let's say we have an array:
var array = [1,2,3,4,5,6,...,999];
How to correctly compose such a link, from the first 500 array values:
https://test.ru?test=1 ,2,3,4,5,6,...500
Do not write https://test.ru?test =array[0] ,array[1]
I understand what is needed through the loop, but I don't understand how exactly.
Thank you for your attention.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question