Apr 13

I stumbled on a job listing at Meebo today, calling for a JavaScript Ninja. The job description poses a few JavaScript puzzles for candidates to solve and submit along with their résumés.

Perhaps the trickiest puzzle of the lot would be #3, since its topic is only recently becoming more well known: using a double-bang (!!) in a boolean test. I found the rest of the puzzles, however, to be fairly straight forward, and not very tricky at all. I would imagine that a true JavaScript Ninja would be subjected to a more rigorous test of skill than these small puzzles.

Realistically, the puzzles are a great way to weed out those who've seen JavaScript from those who know JavaScript. In fact, they have given me some great ideas for new interview questions to add to my aging bag of tricks.

Comments

actually the test are trickier that one can think, cause the approssimative information in the questions..

i wrote a post on my blog about that.

You raise some good points about the lack of context in some cases. In other cases, it seems you may have missed the mark by raising tangential points.

Perhaps the puzzles were created with a lack of context in mind. If so, there exists another dimension to the puzzles, but in many ways they are no more complex.

Further comments on this article have been disabled.