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