Function, Function, Arrow Function

I’m diving deeper into basic vanilla JavaScript and following a simple code-along where I just uncomment pieces of code step-by-step to see how each piece contributes to making a “Simple Liker” social-media-esque app.

function likeCallback(e) {  let heart = e.target;  mimicServerCall()    .then(function(serverMessage){      alert("You notified the server!");      alert(serverMessage);      heart.innerText =…