$(function() {
alert("hello World");
});
alert("hello");
Output:
first "hello" is alert /which is on line 2/ then "hello world" alerted I want to know what is the execution rule in javascript
$(function() {
alert("hello World");
});
alert("hello");
Output:
first "hello" is alert /which is on line 2/ then "hello world" alerted I want to know what is the execution rule in javascript