undefinedDetect (v2)

Revision 2 of this benchmark created on


Setup

var myVar = true;

Test runner

Ready to run.

Testing in
TestOps/sec
typeof triple equal
if (typeof myVar === "undefined") false;
ready
typeof double equal
if (typeof myVar == "undefined") false;
ready
simple equal
if (myVar === undefined) false;
ready

Revisions

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