Hacker News new | ask | show | jobs
by rane 5038 days ago
That's a fair assumption since most of front-end development is done using jQuery as far as the DOM goes.

Did you expect your interviewees to have memorized APIs? There's Google so that you can look up those when needed.

2 comments

I agree. I think it's important to know Javascript as a language well, but there are very few cases when you'd be using Javascript without some abstraction from the DOM.
And in point of fact, neither of those examples are actually about JS, the language. They're about the DOM.
Not recognising document.getElementId is pretty bad, though. It's perhaps the most basic and commonly used part of the DOM itself.