Test case name | Result |
---|---|
Lodash when not null | |
Try... Catch w/o Exception | |
Lodash when undefined | |
Try... Catch w/ Exception | |
Native |
Test name | Executions per second |
---|---|
Lodash when not null | 1866468.0 Ops/sec |
Try... Catch w/o Exception | 6378297.0 Ops/sec |
Lodash when undefined | 1623087.0 Ops/sec |
Try... Catch w/ Exception | 6413549.0 Ops/sec |
Native | 12444920.0 Ops/sec |