instanceof vs isPrototypeOf vs Symbol.hasInstance| Test case name | Result |
|---|---|
| instanceof | |
| isPrototypeOf | |
| Symbol.hasInstance |
| Test name | Executions per second |
|---|---|
| ✓ isPrototypeOf | 63,385,056 Ops/sec |
| Symbol.hasInstance | 58,275,052 Ops/sec |
| instanceof | 34,022,076 Ops/sec |