realitista@lemmy.world to Programmer Humor@programming.dev · 2 years agoPure Evillemmy.worldimagemessage-square62fedilinkarrow-up1550arrow-down1103cross-posted to: programmerhumor@lemmy.ml
arrow-up1447arrow-down1imagePure Evillemmy.worldrealitista@lemmy.world to Programmer Humor@programming.dev · 2 years agomessage-square62fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squaremrpants@midwest.sociallinkfedilinkEnglisharrow-up8·2 years 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·2 years 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.