typeofundefined (v5)

Revision 5 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Variable is Undefined
var a;
a === undefined;
ready
Typeof variable is undefined
var a;
typeof a === 'undefined';
ready
Typeof variable is void 0
var a;
typeof a === void 0;
ready
Typeof is defined
var a = 1;
typeof a === 'undefined';
ready
Variable is defined
var a = 1;
a === undefined;
ready
A is not null
var a;
a === null;
ready

Revisions

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