Great article.
There is one logical error. For array of length 9 and LIMIT 4, the last element whould be missed.
newShoreMore would be <= const newShowMore = newIndex <= (LENGTH - 1);
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Great article.
There is one logical error. For array of length 9 and LIMIT 4, the last element whould be missed.
newShoreMore would be
<=
const newShowMore = newIndex <= (LENGTH - 1);