Test case name | Result |
---|---|
Object.hasOwnProperty | |
Object in | |
Array.indexOf | |
direct | |
Array includes |
Test name | Executions per second |
---|---|
Object.hasOwnProperty | 10385175.0 Ops/sec |
Object in | 9634507.0 Ops/sec |
Array.indexOf | 970.8 Ops/sec |
direct | 9462828.0 Ops/sec |
Array includes | 958.4 Ops/sec |