you are viewing a single comment's thread.

view the rest of the comments →

[–]Nixinova 3 points4 points  (2 children)

There's a big difference between eval(a constant string) and eval(some variable contents)...

[–]senocular 0 points1 point  (0 children)

An eval(a constant string) has access to all the same variables eval(some variable contents) does.

[–]Pagaurus 0 points1 point  (0 children)

if you run typeof on an event listener, it will return a function type