Live data from Hacker News

Ask HN: “Expert Level” JavaScript questions?

news.ycombinator.com

51–54 of 54 posts

Re: Ask HN: “Expert Level” JavaScript questions?

#51
post #35

Reimplement things from scratch. I’d recommend implementing Promises from scratch as well as several Async [0] functions like auto or series. Both are questions I’ve asked of senior level JS/Node engineers. This isn’t exhaustive but it’s good practice for sure. Good luck! [0] https://github.com/caolan/async

> I’d recommend implementing Promises from scratch That must be downright hilarious, depending on how the question is asked. Promises are an absurdly complicated construct considering how little they actually do. If you don't give the candidate the expected spec, 95% of candidates won't get even close. If you do, working through the answer will take long enough that the candidate (and honestly, the interviewer) might…

Like any good interview question it leaves a lot of room for the candidate to take the lead, ask questions and define the scope of the problem. These are all useful skills to assess for a senior position.

Of course an hour long interview is not enough time to implement the full Promise spec but it should be enough time to gauge the level of a candidate.

Re: Ask HN: “Expert Level” JavaScript questions?

#52
I'm not sure if this can help you prepare for an interview quickly but most advanced JavaScript things I've learned is by taking a deep dive into existing frameworks like AngularJS, jQuery, etc source code.

You see a lot of things happening which may not make sense like "The Great Mystery of the Tilde(~)"[1], etc which are not only fun to figure out but you also see them being used practically too.

[1] https://www.joezimjs.com/javascript/great-mystery-of-the-til...

Re: Ask HN: “Expert Level” JavaScript questions?

#54
post #4

Interview questions for senior roles won't (or at least shouldn't) be about language specifics but instead about managing a team, distributing technical work, managing timelines etc. Needless to say, depending on the company, ymmv.

Not necessary. There are lots of senior/experienced/veteran engineers and roles without managerial obligations (at least formally).
Post reply on HN