change the code to the following for the Date check to be working correctly. if(c[key] instanceof Date){ if(c[key].getTime() != ref[key].getTime()) diff[key] = c[key]; } else { if (c[key] !== ref[key]){ ``` diff[key] = c[key]; } } ```