undefined (v9)

Revision 9 of this benchmark created by Anders Ringqvist on


Preparation HTML

<script>
  var x;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
x === undefined
x === undefined
ready
typeof x === 'undefined'
typeof x === 'undefined'
ready
x === void 0
x === void 0
ready
!x
!x
ready
null
x == null
ready
[][0]
x === [][0]
ready
{}.x
x === {}.x
ready

Revisions

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