A
A.The var keyword cannot be omitted when js defines a variable, otherwise an error will be reported
B
B.Variable naming cannot start with $
C
C.The declaration of a variable is represented by the keyword var, but it can also be omitted or not written
D
D.js variables are declared by var just like php variables