n print(label, msg) {
            console.log(`${label}: ${msg}`);
        }

        function handleMouseEvents(element, label) {
            element.addEventListener("mouseup", _ => print(label, "mouseup"));
            element.addEventListener("mousedown", _ => print(label, "mousedown"));
            element.addEventListener("mouseenter", _ => print(label, "mouseenter"));
            element.addEventListener("mouseleave", _ => print(label, "mouseleave"));
            element.addEventListener("mousemove",