function test(e ,ee ) {
console.log(ee);
}
map.on("mousemove", function(e){ test(e,"zzzz")} );
map.on('click', function(e) {
alert(e.latlng);
} );
Leaflet deals with event listeners by reference, so if you want to add a listener and then remove it, define it as a function:
function onClick(e) { ... }
map.on('click', onClick);
map.off('click', onClick);