undefined comparison

Benchmark created by Andy on


Setup

var u, undef;
    u = undef = (function(){})();

Test runner

Ready to run.

Testing in
TestOps/sec
===
u === undef
ready
typeof
typeof u === "undefined"
ready

Revisions

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

  • Revision 1: published by Andy on