Bullhorn interview question

How to write javascript functions for multiple browsers.