this post was submitted on 20 Jan 2024
167 points (98.8% liked)

196

16905 readers
1181 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

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
[–] EvokerKing 9 points 1 year ago (1 children)

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.

[–] electric 2 points 1 year ago (2 children)

It's Swift, the Apple language.

[–] [email protected] 8 points 1 year ago

It's also perfectly valid JS.

[–] EvokerKing 2 points 1 year ago