@[email protected] to Programmer [email protected] • 1 year agoWhat are variables and semicolons for actually?message-square36fedilinkarrow-up1112arrow-down18file-text
arrow-up1104arrow-down1message-squareWhat are variables and semicolons for actually?@[email protected] to Programmer [email protected] • 1 year agomessage-square36fedilinkfile-text
minus-square@[email protected]linkfedilinkEnglish4•1 year agofor (const item in items) { } != for (const item of items) { }
for (const item in items) { }
!=
for (const item of items) { }
Still better than
for _, item in ipairs(items)