Answer the question
In order to leave comments, you need to log in
How to get only some elements of an array using destructuring?
An array comes into the function parameter
[(не нужное), (не нужное), (НУЖНОЕ №1), (не нужное), (НУЖНОЕ №2)]
function someFunction([null, null, null, id, null, status]) {
...
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question