Test case name | Result |
---|---|
is() or contains() | |
== or contains() | |
!!closest.length | |
== and parentNodes |
Test name | Executions per second |
---|---|
is() or contains() | 1061705.0 Ops/sec |
== or contains() | 2149648.8 Ops/sec |
!!closest.length | 617344.7 Ops/sec |
== and parentNodes | 3007692.2 Ops/sec |