I keep encountering the error
Uncaught TypeError: Function.prototype.apply: Arguments list has wrong type
whenever I utilize the .apply()
method but I'm unable to pinpoint the cause. You can review my code here.
Upon loading jsfiddle, try clicking next to the word "test" and pressing the Enter key. The error seems to be originating from the this.addEvent
method. I am attempting to designate my object as the 'this' within the callback function of the event.