Pergunta de entrevista da empresa Constant Contact

Write JavaScript to do a depth-first traversal of a binary tree