Electric@lemmy.world to 196@lemmy.blahaj.zone · 10 months agomood = rulelemmy.worldimagemessage-square26fedilinkarrow-up1166arrow-down10
arrow-up1166arrow-down1imagemood = rulelemmy.worldElectric@lemmy.world to 196@lemmy.blahaj.zone · 10 months agomessage-square26fedilink
minus-squareHildegarde@lemmy.worldlinkfedilinkarrow-up13·10 months agobash: let: =: syntax error: operand expected (error token is “=”)
minus-squareEvokerKing@lemmy.worldlinkfedilinkarrow-up9·10 months agoWhat programming language are you assuming this is? I’m thinking of it as JavaScript in my head and I don’t think there would be any errors.
minus-squaresetVeryLoud(true);@lemmy.calinkfedilinkarrow-up8·10 months agoIt’s also perfectly valid JS.
bash: let: =: syntax error: operand expected (error token is “=”)
What programming language are you assuming this is? I’m thinking of it as JavaScript in my head and I don’t think there would be any errors.
It’s Swift, the Apple language.
It’s also perfectly valid JS.
Ewwww
Bash ain’t got no ternary does it?