Defer & Async Attributes in Javascript
The default way of treating a <scipt/> tag by a browser is to pause creating DOM (Document Object Model) and start loading and executing the resource of script but this behaviour leads to two important issues: The script does not have access to the ...
Feb 4, 20243 min read
