Open Semigradsky opened 1 year ago
const deepEqual = require('fast-deep-equal') deepEqual( new Date('foo'), new Date('bar'), ) // false
I expect that invalid dates will be equal, the same as invalid numbers (NaN).
In lodash/underscore:
_.isEqual(new Date('foo'), new Date('bar')) // true
I expect that invalid dates will be equal, the same as invalid numbers (NaN).
In lodash/underscore: