Test case name | Result |
---|---|
is() or contains() | |
== or contains() | |
!!closest.length | |
== and parentNodes |
Test name | Executions per second |
---|---|
is() or contains() | 598321.6 Ops/sec |
== or contains() | 0.0 Ops/sec |
!!closest.length | 325614.9 Ops/sec |
== and parentNodes | 2093276.0 Ops/sec |