Hacker News new | ask | show | jobs
by yesimahuman 5358 days ago
I think you could focus more of code organization and layout. What are possible ways to make Javascript code modular? Why are namespaces important? Why shouldn't you (generally) declare variables in the window context?

A few more: What are dangers of using prototype inheritance with many instances of that class (meaning accidentally attaching variables to the prototype rather than the instance)?

What are some gotchas with IE < 9 event objects in event handlers that contain closures?

Explain the same origin policy, why it's important, and how it impacts your development.

(jQuery twister): explain where the '$' variable is defined when used with jQuery. How might you manipulate the DOM in another popup window you've created?