G
G
Gruapk2020-09-04 11:27:00
Node.js
Gruapk, 2020-09-04 11:27:00

How to get data from a dictionary?

How to get the value of slot for all parts of the array (we don't know where it will be next time, for example it was on [0] , and then maybe [5])
5f51fa330f7b0013225200.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hzzzzl, 2020-09-04
@Gruapk

what is it, is it an array of objects?

array
  .filter(el => el !== null)   // а то там есть один null на скрине
  .map(el => el.slot)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question