2 strict 1 non-strict

Benchmark created on


Description

checking for not null or not undefined - what is faster? !==, !== or ==

Test runner

Ready to run.

Testing in
TestOps/sec
two strict
undefined !== null && undefined !== undefined
ready
one lazy
undefined == null
ready
two strict null
null !== null && null !== undefined
ready
truthy
!!undefined
ready

Revisions

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