java-script:find-and-find-index-methods
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| java-script:find-and-find-index-methods [2023/08/11 13:46] – created odefta | java-script:find-and-find-index-methods [2025/01/02 18:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 26: | Line 26: | ||
| < | < | ||
| - | * Use **find** when you want to retrieve the first item that satisfies a condition. | + | * Use **find** when you want to retrieve the **first item** that satisfies a condition. |
| - | * Use **findIndex** when you need the index of the first item that satisfies a condition. | + | * Use **findIndex** when you need the **index of the first item** that satisfies a condition. |
| - | * Use **[[java-script: | + | * Use **[[java-script: |
| </ | </ | ||
| - | |||
| - | |||
| - | |||
| - | |||
java-script/find-and-find-index-methods.1691761595.txt.gz · Last modified: (external edit)
