code.js(js file)
let winter = ["applle","orange","grape"];
console.log(winter);
document.getElementById("fruits").innerHTML = winter;
<h1 id="fruits">fruit stall</h1>
Why it's not working for me, can anyone help on this please...
I want array elements to be as output instead of "fruit stall"