判断 undefined typeof(variable) == "undefined" 判断undefined variable===null variable==undefined&&typeof(variable) == "object"