The content shared with you in this article is about the standard issues of js. It has certain reference value and friends in need can refer to it
Embedding rules
Align indentation and line breaks
Name
Declaration
Type
Object
Array
String
Function
Attribute
Variable
Conditional expressions and equal signs
Blocks
Comments
Blank
Javascript programs should be placed in .js files as much as possible. When they need to be called, they should be included in the page in the form of