Good point, buy maybe you should change your example so you don't use the return clause.
I feel like refactoring your example to:
if (arg === "dog") return "LOVELY";
if (arg === "cat") return "CUTE";
return "gimme an animal";
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.