Test case name | Result |
---|---|
Object.hasOwnProperty | |
Object in | |
Array.indexOf | |
direct | |
Array includes |
Test name | Executions per second |
---|---|
Object.hasOwnProperty | 3986809.8 Ops/sec |
Object in | 3643854.8 Ops/sec |
Array.indexOf | 589.4 Ops/sec |
direct | 3669373.8 Ops/sec |
Array includes | 671.6 Ops/sec |