obj.addEventListener("이벤트", 함수이름)
해결방법 람다식(익명식)을 사용해서 함수를 한번 감싸주면 된다
ex)
obj.addEventListener("click", ()=>{ printSomething(data); })