You don't need the name, it should work fine just like this:
if ( e.target == arrow_left ) { ...
This of course requires that your method ans_eval
can access to the arrow_left
-variable, meaning that it will be called in the same context and the addEventListener
.
Wether or not this is the case will only you know or you post the whole code in a js-fiddle.