undefined test 42

Benchmark created on


Setup

var undef = (function(){})();
    var u;
    var n = 42;
    var N = new Number(42);

Test runner

Ready to run.

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

Revisions

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