Test case name | Result |
---|---|
Object.hasOwnProperty | |
Object in | |
Array.indexOf | |
direct | |
Array includes |
Test name | Executions per second |
---|---|
Object.hasOwnProperty | 11170897.0 Ops/sec |
Object in | 10310120.0 Ops/sec |
Array.indexOf | 168909.5 Ops/sec |
direct | 10335731.0 Ops/sec |
Array includes | 173754.6 Ops/sec |