Is it true that there are no guarantees across major browsers that the following script tags will always execute both sequentially AND in order of declaration? i.e. should I
The execution order of these non-dynamically added script
tags should be purely sequentially
in every browser:
Snippet from this link:
JavaScript statements that appear between
<script>
and</script>
tags are executed in order of appearance; when more than one script appears in a file, the scripts are executed in the order in which they appear.
However, things could change as soon as you're:
defer
attribute.