JavaScript 系列 - null

47 阅读1分钟
typeof null === 'object'
function isNull(data) {
    return !a && typeof data === "object";
}