JavaScript总结(十)--非空判断 2018-08-22 本文已影响12人 风的低语 非空判断 if (null !== variable1 || undefined !== variable1 || '' !== variable1)