 _ => print(label, "mousemove"));
            element.addEventListener("mouseout", _ => print(label, "mouseout"));
            element.addEventListener("mouseover", _ => print(label, "mouseover"));
        }

        handleMouseEvents(document.getElementById("box-1"), "A");
        handleMouseEvents(document.getElementById("box-2"), "B");
        handleMouseEvents(document.getElementById("box-3"), "C");
    </script>
</body>

</html>
