I’ve found the best way to probe somebody’s javascript knowledge. Ask him a simple question! One question: What will the following code produce and most important why?
window.onload = alert( 'message 1' ); alert( 'message 2' );
I’ve found the best way to probe somebody’s javascript knowledge. Ask him a simple question! One question: What will the following code produce and most important why?
window.onload = alert( 'message 1' ); alert( 'message 2' );