re: Don’t pay the for-loop tax VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION

I discovered that I pasted the code wrong, so I've edited the post to correct that. In the original version I could have written a function to find the index in the array, but I can't do that for the correct version.

code of conduct - report abuse