undefined-vs-undefined

Benchmark created by demongloom on


Test runner

Ready to run.

Testing in
TestOps/sec
undefined in quotes
typeof xyz === 'undefined'
ready
undefined w/o quotes
typeof xyz === undefined
ready
undef 1
(function() {

typeof xyz === 'undefined';

}());
ready
undef 2
(function() {

typeof xyz === undefined;

}());
ready

Revisions

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