Test case name | Result |
---|---|
Object.hasOwnProperty | |
Object in | |
Array.indexOf | |
direct | |
Array includes |
Test name | Executions per second |
---|---|
Object.hasOwnProperty | 3677822.2 Ops/sec |
Object in | 3562511.0 Ops/sec |
Array.indexOf | 3083.4 Ops/sec |
direct | 3514136.8 Ops/sec |
Array includes | 3155.7 Ops/sec |