Test case name | Result |
---|---|
is() or contains() | |
== or contains() | |
!!closest.length | |
== and parentNodes |
Test name | Executions per second |
---|---|
is() or contains() | 2832116.5 Ops/sec |
== or contains() | 5409927.5 Ops/sec |
!!closest.length | 1617074.8 Ops/sec |
== and parentNodes | 7420063.0 Ops/sec |