Amazon interview question

Debugging easy java scripts