Test case name | Result |
---|---|
Object.hasOwnProperty | |
Object in | |
Array.indexOf | |
direct | |
Array includes |
Test name | Executions per second |
---|---|
Object.hasOwnProperty | 8109391.5 Ops/sec |
Object in | 6951356.0 Ops/sec |
Array.indexOf | 9916604.0 Ops/sec |
direct | 6901056.5 Ops/sec |
Array includes | 2463506.0 Ops/sec |