Can I use defer attribute for external scripts?

Compatibility table for support of defer attribute for external scripts in desktop and mobile browsers.

Legend

defer attribute for external scripts

- LS

The boolean defer attribute on script elements allows the external JavaScript file to run when the DOM is loaded, without delaying page load first.

Resources:
async vs defer attributes
MDN Web Docs - Script Attributes
has.js test
WebPlatform Docs