Vidyalelo
JavaScript · Q56

Invocation And Performance Navigation

Programming · JavaScript · question 56

Q56

What is the purpose of using the async attribute in the script tag?

A.
Load the script asynchronously
Answer
B.
Load the script synchronously
C.
Load the page asynchronously
D.
Load the page synchronously

Answer: Option A

Solution

Answer: Option A
Solution:
The async option is a native attribute that will tell the browser to load the script asynchronously.