notevil
notevil copied to clipboard
'Invalid Date' returned when 'new Date()' is evaluated
Even though some other instantiation code works, like new Number()
, when new Date()
is evaluated it returns 'Invalid Date'
.
For example:
notevil('new Date()'); // returns 'Invalid Date'
workaround: notevil('new Date(null)');