JS 判断undefined

tax !== underfined
underfined 是判断的是类型的结果,

如果加typeof后是字符串类型

写法:
typeof(tax) !== "underfined";

原文地址:https://www.cnblogs.com/kk073000/p/5002681.html