Array.prototype.find
The `find()` method returns the value of the first item in the array based on the result of the provided testing function.
Array.prototype.findIndex
The `findIndex()` method returns the index of the first element in the array that satisfies the provided testing function.
selector list argument of :nth-child and :nth-last-child CSS pseudo-classes
The newest versions of `:nth-child()` and `:nth-last-child()` accept an optional `of S` clause which filters the children to only those which match the selector list `S`. For example, `:nth-child(1 of .foo)` selects the first child among the children that have the `foo` class (ignoring any non-`foo` children which precede that child). Similar to `:nth-of-type`, but for arbitrary selectors instead of only type selectors.
CSS3 selectors
Advanced element selection using selectors including: `[foo^="bar"]`, `[foo$="bar"]`, `[foo*="bar"]`, `:root`, `:nth-child()`, `:nth-last-child()`, `:nth-of-type()`, `:nth-last-of-type()`, `:last-child`, `:first-of-type`, `:last-of-type`, `:only-child`, `:only-of-type`, `:empty`, `:target`, `:enabled`, `:disabled`, `:checked`, `:not()`, `~` (general sibling)
css selector: `:first-of-type`
5 results found.