Object is derived from null

if(typeof null === 'object') {
    console.log('Null is JavaScript object');
} else {
    console.log('Null is not JavaScript object');
}

//Result: 
//Null is JavaScript object