1 line
283 B
JavaScript
Executable File
1 line
283 B
JavaScript
Executable File
let divText = document.getElementById("comments").innerHTML; newPageHTML=""; for (let comment = 0; comment < comments.length; comment++) { newPageHTML+=`<b>${comments[comment][0]}</b>: <i>${comments[comment][1]}</i><br/>`}; document.getElementById("comments").innerHTML = newPageHTML |