D
D
DashaPoliazzz2022-04-19 22:12:28
JavaScript
DashaPoliazzz, 2022-04-19 22:12:28

How to find an object in an array whose keys and values ​​are strings?

There is an array that consists of objects, each field of the object looks like:

{
  "user name": "name of the user"
}

How to find the required element?

CODESANDBOX - https://codesandbox.io/s/hardcore-flower-mo31dl?fi...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Ne7Le4Der, 2022-04-19
@DashaPoliazzz

https://codepen.io/Ne7Le4DeR/pen/eYyxRVm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question