prevs
Using the prevs property, you can easily obtain all preceding adjacent element instances of the current element, which will be returned as an array.
- I am 0
- I am 1
- I am target
- I am 3
Using the prevs property, you can easily obtain all preceding adjacent element instances of the current element, which will be returned as an array.
- I am 0
- I am 1
- I am target
- I am 3