Electric@lemmy.world to 196@lemmy.blahaj.zone · 11 months agomood = rulelemmy.worldimagemessage-square26fedilinkarrow-up1167arrow-down10
arrow-up1167arrow-down1imagemood = rulelemmy.worldElectric@lemmy.world to 196@lemmy.blahaj.zone · 11 months agomessage-square26fedilink
minus-squareHildegarde@lemmy.worldlinkfedilinkarrow-up13·11 months agobash: let: =: syntax error: operand expected (error token is “=”)
minus-squareEvokerKing@lemmy.worldlinkfedilinkarrow-up9·11 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.
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?