![]() However if the readability of isn't an issue for you, then this may be a non issue. It's less the ordering of the elements and more the ordering ordering of the parameters on invocation, the function you pass to jQuery forEach each passes the index through the first argument and the actual element in the second. I'm not sure why its element ordering really applies. True, but if the original argument against for of is that it isn't readability, then this isn't a strong argument in favour of forEach. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |