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

196

16509 readers
2346 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 10 months 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.

[–] [email protected] 2 points 10 months ago (2 children)

It's Swift, the Apple language.

[–] [email protected] 8 points 10 months ago

It's also perfectly valid JS.

[–] [email protected] 2 points 10 months ago