1. The simplest way to call
is to write directly into the body tag of html, such as:
2. Call
3. Call at the same time Multiple functions
are written directly into the body tag of html, such as:
4. JS calls multiple functions. The following calling method can be used in less complex JS programs. If the program has many functions and the logic is complex, you can consider using the fifth method.
5. JS custom function calls multiple times