How to remove the defult comma from the start of an Array in Javascript : I have a variable pushing a word into an array. When I print this array onto a website the word starts with a comma in front! 

    var bar = [""];
    function myFunction2() {
    bar.push('pubs');
    document.getElementById("demo").innerHTML = bar; //Prints on website 
    }
And the result printed on the website is: ,pubs

Thanks for any help! 
