Q. Where is the external JavaScript placed in the case of lazy loading?
β
Correct Answer: (A)
After window.onload event
Explanation: When we don’t need our JavaScript code to be available as soon as the page loads, we can script-load our external JavaScript after the window.onload event.