problem description
What type is generally good for declaring the initial value of a variable in js? Why
such as
var a / / initial value, this value may be followed by a string type or a numeric type, what should I use for initialization here? 0 or""
the environmental background of the problems and what methods you have tried
var a / / initial value, which may be followed by a string type or a numeric type. What should I use for initialization here? 0 or""
related codes
/ / Please paste the code text below (do not replace the code with pictures)
var a / / initial value, which may be followed by a string type or a numeric type. What should I use for initialization here? 0 or""
what result do you expect? What is the error message actually seen?
var a / / initial value, which may be followed by a string type or a numeric type. What should I use for initialization here? 0 or""