Test case name | Result |
---|---|
null check with next typeof check | |
boolean check with next typeof check | |
boolean check with next boolean check | |
null or undefined with next typeof check | |
null or undefined with boolean next check |
Test name | Executions per second |
---|---|
null check with next typeof check | 6533637.0 Ops/sec |
boolean check with next typeof check | 6526039.0 Ops/sec |
boolean check with next boolean check | 6400166.5 Ops/sec |
null or undefined with next typeof check | 907124.2 Ops/sec |
null or undefined with boolean next check | 917572.9 Ops/sec |