Travis build: 18 [cron]

This commit is contained in:
30secondsofcode
2018-06-23 19:31:04 +00:00
parent 51029ecbd3
commit 9746b0bea9
5 changed files with 1632 additions and 1622 deletions

View File

@ -1,7 +1,7 @@
const equals = (a, b) => {
if (a === b) return true;
if (a instanceof Date && b instanceof Date) return a.getTime() === b.getTime();
if (!a || !b || (typeof a != 'object' && typeof b !== 'object')) return a === b;
if (!a || !b || (typeof a !== 'object' && typeof b !== 'object')) return a === b;
if (a === null || a === undefined || b === null || b === undefined) return false;
if (a.prototype !== b.prototype) return false;
let keys = Object.keys(a);