Home

Arrow functions

 

$("#buttongroup1 button").click(t=>{const e=$(t.target).text();$("pre:first-of-type").html(`You clicked on <b>${e}</b>`)}),document.querySelectorAll("#buttongroup2 button").forEach((function(t){t.addEventListener("click",t=>{const e=t.target.textContent;document.querySelector("pre:first-of-type").innerHTML=`You clicked on <b>${e}</b>`})}));
//# sourceMappingURL=arrowFunctions.js.map