Test case name | Result |
---|---|
Using Array.prototype length all the time | |
Caching the value of Array.prototype.length |
Test name | Executions per second |
---|---|
Using Array.prototype length all the time | 6032.4 Ops/sec |
Caching the value of Array.prototype.length | 12151.8 Ops/sec |