1.

What is the default value of the asyc attribute?(a) 0(b) 1(c) False(d) TrueI got this question in an interview for internship.My doubt stems from Script Loading topic in portion Invocation and Performance Navigation of JavaScript

Answer»

Correct answer is (d) True

The EXPLANATION: The ASYNC attribute is a boolean attribute. When present, it specifies that the script will be executed asynchronously as soon as it is AVAILABLE. The async attribute optionally ACCEPTS a boolean value and by default HOLDS the value true.



Discussion

No Comment Found

Related InterviewSolutions