Select from following answers:- It makes sure that all the content of the page is loaded then only this script is loads and executes

- it is used to defer the load of script in that line and executes in next line
- it is used to load the script synchronously
- All Above
<script defer src="asyncMyJavaScript.js"></script>
defer ensures that the .js file loads and executes only when the complete page is parsed and loaded in the browser.
Show Correct Answer
Asked In: Many Interviews |
Alert Moderator