how to check object is null in javascript 22 How To Check Object Is Null In Javascript To check for null SPECIFICALLYyou would use this: if (variable === null) This test will ONLYpass for nulland will not pass … Written By Anonymous Friday, April 8, 2016 Add Comment Edit