array-explorer
array-explorer copied to clipboard
indexOf: fromIndex
I feel like indexOf
's optional second parameter: fromIndex
, is an unsung hero.
It has saved me many times from having to slice
an array before calling indexOf
.
Would you consider a PR with an example using fromIndex
?
absolutely! it would be great if you could explain/show it in a way that didn't cloud newcomers understanding of indexOf.
The other thing is updating the languages. We could either drop it into google translate or just leave it different, I'm open to either.
I look forward to it!
Indexof ? I can't understand!! plaese somebody elobrate this.