Send An Argument To A Function Inside A Class Via An Event Listener In Vanilla JavaScript
This works as far as I can tell, but I'm new to this approach. Let me know if there are gotchas I should be watching out for
(check the console for the output)
The Problem, I Thought, But No, This Work
This is working without .call(). I thought this was where I was having the problem in other code. I'm going back to figure out where the problem was from.
JavaScript
document.
This Also Works But Seems Unnecessary
This is using `.call()``, but that seems unnecessary, I'm leaving it here until I figured out what happened in the other
code that this seemed to fix.
JavaScript
document.