1. Run without defer attribute
[Ctrl+A Select all Note: If you need to introduce external Js, you need to refresh to execute]
2.
[Ctrl+A Select all Note: If you need to introduce external Js, you need to refresh to execute]
PS:
After running, check the source file and you will find that the code inside has been executed.