Innovative-e interview question

Why does JavaScript behave differently in different browsers?