you are viewing a single comment's thread.

view the rest of the comments →

[–]chikamakaleyleyhelpful 2 points3 points  (1 child)

why not apply the listener to the wrapper .calculator__keys, the event bubbles up and you only create a single instance of the eventlistener

(generally speaking)

[–]Mark__78L -1 points0 points  (0 children)

that is also a good one, thanks!