CoffeeScript Comprehensions Silently Return Arrays: How to Stop the Leak
CoffeeScript loops are expressions, so a comprehension can return a whole array you never meant to expose. Learn to suppress implicit returns with an explicit return statement.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
CoffeeScript loops are expressions, so a comprehension can return a whole array you never meant to expose. Learn to suppress implicit returns with an explicit return statement.