⇄
Diff / Compare
Original
function join(){ var b = document.querySelector(".badge"); var n = parseInt(b.textContent) + 1; b.textContent = n + " playing"; alert("Welcome!"); }
Changed
function join(){ var b = document.querySelector(".badge"); var n = parseInt(b.textContent) + 1; b.textContent = n + " playing"; console.log("Player joined", n); }
Line diff
Word diff
·
LCS algorithm