Electric to 196@lemmy.blahaj.zone • 5 months agomood = rulelemmy.worldimagemessage-square26fedilinkarrow-up1166arrow-down10
arrow-up1166arrow-down1imagemood = rulelemmy.worldElectric to 196@lemmy.blahaj.zone • 5 months agomessage-square26fedilink
minus-squareHildegardelinkfedilink13•5 months agobash: let: =: syntax error: operand expected (error token is “=”)
minus-square@EvokerKing@lemmy.worldlinkfedilink9•5 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?