How to succinctly and quickly get the item up from the depths?


Immediately to the value of ten?
And possibly intermediate elements are not always the same.
Know that you can't find, but I think there is an easier way... or not!?)
April 3rd 20 at 17:32
3 answers
April 3rd 20 at 17:34
Serialize to a string and regex.
April 3rd 20 at 17:36
No way. Too much dvadtsatiminutka array may occupy a completely indecent time, up to many years.
April 3rd 20 at 17:38
The question is not clear. Why to a value that is known? Or it is necessary to obtain the value of the last element? Or it is necessary for the value to find the element number?

Find more questions by tags JavaScript