| Test name | Executions per second |
|---|---|
| ✓ Length property cast with destructuring | 155,992 Ops/sec |
| Length property cast without destructuring | 155,273 Ops/sec |
| Comparison (row.length > 0) without destructuring | 154,273 Ops/sec |
| Double negation (!!row.length) with destructuring | 154,256 Ops/sec |
| Array.length property | 153,668 Ops/sec |
| Comparison (row.length > 0) with destructuring | 152,593 Ops/sec |
| Array.some() method | 152,293 Ops/sec |
| Double negation (!!row.length) without destructuring | 152,011 Ops/sec |
| for...of loop | 151,516 Ops/sec |
| First element check | 150,875 Ops/sec |
| Array.isArray() with length | 150,011 Ops/sec |
| typeof with length | 145,367 Ops/sec |
| Boolean constructor | 128,206 Ops/sec |
| Double negation (!!row) | 117,825 Ops/sec |
| Object.keys() | 694 Ops/sec |