Konrad Group interview question

Trace through some javascript