realitista@lemmy.world to Programmer Humor@programming.dev · 1 year agoPure Evillemmy.worldexternal-linkmessage-square56fedilinkarrow-up1536arrow-down1102cross-posted to: [email protected]
arrow-up1434arrow-down1external-linkPure Evillemmy.worldrealitista@lemmy.world to Programmer Humor@programming.dev · 1 year agomessage-square56fedilinkcross-posted to: [email protected]
minus-squaremrpants@midwest.sociallinkfedilinkEnglisharrow-up8·1 year agoMost of the time. Sometimes it can lead to code that is ambiguous and ASI picks the wrong way to interpret it. https://stackoverflow.com/questions/25088708/what-rules-must-i-follow-to-write-valid-javascript-without-semicolons
minus-squarecoffee_poops@sh.itjust.workslinkfedilinkEnglisharrow-up1·1 year agoRight, but there’s not going to be a syntax error.
Most of the time. Sometimes it can lead to code that is ambiguous and ASI picks the wrong way to interpret it.
https://stackoverflow.com/questions/25088708/what-rules-must-i-follow-to-write-valid-javascript-without-semicolons
Right, but there’s not going to be a syntax error.