Maybe it was easy...
Well, as a beginner I am trying to discover js step by step and all I have is forum, Google and stack of .pdfs
Say, small problem, how to find index of specific Array's element...
...you can call myArray.findIndex("element") written on February 2, 2006
---> doesn't work today (findIndex is not a function)
...you can call toString(myArray).indexOf("element") written on Dec 18, 2009
---> doesn't work today. Result == -1 cause toString(myArray) gives a string "[object Global]"
So, js has changed so much in back, that those kind of basic functions disappears
or there are new ones, I can't google them?
I know I can use statement for and catch index comparing myArray elements step by step, however...
...maybe it was easier at the beginning but Wind of Changes made a pretty mess here,
from my position of course...
can u help me? Thx