Pregunta de entrevista de Netzwelt (Philippines)

Implement a binary tree traversal function in JavaScript