MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/npcroh/clever/h06mp18/?context=3
r/badcode • u/bobpiranha • May 31 '21
71 comments sorted by
View all comments
Show parent comment
1
It's almost certainly just boilerplate or scaffolding. Someone had the intention of doing something different with an empty array, included the if statement for future use, then moved on to something more important.
View all comments
Show parent comment
1
u/[deleted] Jun 01 '21
It's almost certainly just boilerplate or scaffolding. Someone had the intention of doing something different with an empty array, included the if statement for future use, then moved on to something more important.