Answer the question
In order to leave comments, you need to log in
Removing values in an array before a specific one?
There is an array [5, 2, 999, 3, 1, 4]
. It is necessary to remove all values up to 999 , the result should be: [999, 3, 1, 4]
.
Please tell me the best way to do this?
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