Testing undefined (v2)

Revision 2 of this benchmark created on


Preparation HTML

<script>
  var undefined = ('undefined').toString();
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
w/out undefined var
typeof doesNotExist == 'undefined';
 
ready
w/ undefined var
typeof doesNotExist == undefined;
 
ready
strict comparison
doesNotExist === undefined;
ready

Revisions

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