if(reaction==="UpVote"){ console.log("Good answer...."); } else if(reaction==="DownVote"){ console.log("Be kind enough to explain yourself..."); }
Studying by myself - Be gentle ...... ;)