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 :-\
Anonymous
I used DOM manipulation, when they apparently wanted innerHTML via Array::join. (I mentioned that templates made more sense.)
Check out your Company Bowl for anonymous work chats.