Explain the role of deferred scripts in JavaScript?

Explain the role of deferred scripts in JavaScript?

The deferred scripts are a way of telling the browser that a particular script can be loaded once all the other stuff that browser needs to do is done i.e. “load the script in background and don’t block the rendering”.