I am trying to make a dynamic url from all array data. Now I have come to this part and I don't have idea how to resolve this. Can You please help?
//Get image
function get_image(img_arg){
var length = img_arg.length;
for (x = 0; x < length; x++){
//I would like to make url like this:
//var url = img_arg[0] + '-' + img_arg[1] + '-' + img_arg[2]...till the max;
}
console.log(url);
}
Thanks!