Js determines undefined, null, and NaN

	verIllegal(tmp) {
		if((typeof(tmp) == "undefined") | | (! tmp &&typeof(tmp)! ="undefined"&& tmp! =0) | | (isNaN(tmp))) {
			return ' '
		} else {
			return tmp
		}
	}
Copy the code