IFrame - instanceof vs IFrame - .prototype.isPrototypeOf vs IFrame - .nodeName vs IFrame - Object.prototype.toString.call vs IFrame - objType vs IFrame - objTypeS| Test case name | Result |
|---|---|
| IFrame - instanceof | |
| IFrame - .prototype.isPrototypeOf | |
| IFrame - .nodeName | |
| IFrame - Object.prototype.toString.call | |
| IFrame - objType | |
| IFrame - objTypeS |
| Test name | Executions per second |
|---|---|
| ✓ IFrame - instanceof | 1,837,829 Ops/sec |
| IFrame - .prototype.isPrototypeOf | 1,363,617 Ops/sec |
| IFrame - .nodeName | 905,006 Ops/sec |
| IFrame - Object.prototype.toString.call | 391,527 Ops/sec |
| IFrame - objType | 356,448 Ops/sec |
| IFrame - objTypeS | 168,462 Ops/sec |