incoming type
type can be a, b, c. The
code is as follows:
function fun(type) { if(type=="a"){} else if(type=="b"){} else if(type=="c"){} }
It was found that no matter how the type was passed, it finally became b
and debugged again. Check that
type=="b" was written as type="b",
which caused the type to be directly assigned...
OMG
is a small symbol, remember this