isnan vs compare nan (v3)

Revision 3 of this benchmark created on


Setup

var a = 0 +"";

Test runner

Ready to run.

Testing in
TestOps/sec
isNaN
isNaN(a);
ready
regex
a.match("[0-9]+")
ready

Revisions

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