New York Times Interview Question: I was asked to edit very low ... | Glassdoor

Find your next job here

Interview Question

Web Developer Interview New York, NY

I was asked to edit very low quality JavaScript. I think I

  lost points for not catching "errors", but the interviewer hadn't given me any requirements, even when I prompted for them. I had no way of knowing what was expected from the spaghetti code :-\

Interview Answer

1 Answer


I used DOM manipulation, when they apparently wanted innerHTML via Array::join. (I mentioned that templates made more sense.)

Interview Candidate on Oct 14, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.