Test case name | Result |
---|---|
is() or contains() | |
== or contains() | |
!!closest.length | |
== and parentNodes |
Test name | Executions per second |
---|---|
is() or contains() | 603026.6 Ops/sec |
== or contains() | 1184965.4 Ops/sec |
!!closest.length | 296822.9 Ops/sec |
== and parentNodes | 2168226.8 Ops/sec |