==(=) check for location in memory (arrays and objects). This will not work (use Object.keys(xxx).length === 0)