JavaScript Execution Order

View the browser console to see the effective order of execution.