This is a question I was once asked in a job interview. Might be appropriate here. http://devlicio.us/blogs/sergio_pereira/archive/2009/02/09/javascript-5-ways-to-call-a-function.aspx