I am trying to combine an array of strings together into a one lined variable
So for example I want the end result to render out like:
"tag[]=sku_helloworld&tag[]=sku_bridesdark&tag[]=stuk_home"
This is what I have at the moment and I'm unsure on how to combine it alltogether?
var productSku = $('.social-module').data('magento-sku'),
str = productSku,
skuList = str.split(',');
for (var i = 0; i < skuList.length; i++) {
console.log("tag[]=" + skuList[i] + "&");
}