invalid check "date instanceof Number"
evdevel opened this issue · comments
Line 550 in f886f03
I think that the check is not working correctly.
For example, if I pass time in milliseconds in the max parameter, then the check will not work.
Probably worth checking out in the following way.
typeof date === 'number'
I think you are right, PR is definitely welcomed
Fixed in 3.2.1