How can I remove the EventListener? Attached is a quick example of where it doesn't work. How should it be correct?
function test_function(a='', b='') {
console.log('test_function started. a='+a+', b='+b);
}
document.body.addEventListener('mousemove', ()=>{ test_function('testa', 'testb'); });
document.body.removeEventListener("mousemove", test_function );