Hacker News new | ask | show | jobs
by jlas 4598 days ago
I agree, there are like 7 lines that bunch together logic using commas.

This one has three operations in one line:

  newEl.className = newEl.className.replace(' f', ''), length++, hasFood = false;