this post was submitted on 20 Jan 2024
167 points (98.8% liked)
196
16905 readers
1165 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
If you have any questions, feel free to contact us on our matrix channel.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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?