isNaN test of dates in different way

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
parse
isNaN(Date.parse('2022-01-01'));
ready
valueOf
isNaN(new Date('2022-01-01').valueOf());
ready
Date
isNaN(new Date('2022-01-01'));
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.