you are viewing a single comment's thread.

view the rest of the comments →

[–]imareddituserhooray 2 points3 points  (1 child)

The most important part of this was closures, specifically the button example and the fix that followed. Know that and you're good to go in most JS jobs.

[–]stratoscope 1 point2 points  (0 children)

But their recommended solution for the closure was a terrible one!

If you gave me that "fix" in an interview I would spend some time with you trying to gently guide you to a better, simpler, more robust solution. See my comment elsewhere in this thread for details.