3 ms·
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
by jlas 13y 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;