| Test name | Executions per second |
|---|---|
| Double negation (!!row.length) with destructuring | 154255.5 Ops/sec |
| Double negation (!!row.length) without destructuring | 152010.6 Ops/sec |
| Comparison (row.length > 0) with destructuring | 152592.7 Ops/sec |
| Comparison (row.length > 0) without destructuring | 154273.4 Ops/sec |
| Double negation (!!row) | 117825.5 Ops/sec |
| Boolean constructor | 128206.0 Ops/sec |
| Array.length property | 153667.7 Ops/sec |
| Array.some() method | 152293.2 Ops/sec |
| Object.keys() | 693.9 Ops/sec |
| for...of loop | 151516.3 Ops/sec |
| Array.isArray() with length | 150011.1 Ops/sec |
| typeof with length | 145366.7 Ops/sec |
| First element check | 150875.2 Ops/sec |
| Length property cast with destructuring | 155992.4 Ops/sec |
| Length property cast without destructuring | 155272.9 Ops/sec |