Open incubusknight opened 4 years ago
Even though some other instantiation code works, like new Number(), when new Date() is evaluated it returns 'Invalid Date'.
new Number()
new Date()
'Invalid Date'
For example:
notevil('new Date()'); // returns 'Invalid Date'
workaround: notevil('new Date(null)');
Even though some other instantiation code works, like
new Number()
, whennew Date()
is evaluated it returns'Invalid Date'
.For example: