Swift doesn’t require the semicolon; it only requires it if there are multiple statements on one line. Otherwise, it infers it from a line break. (You can still use semicolons if you’re more comfortable doing so, but it isn’t required if you have separate statements on separate lines.)What is ; in swift.
I’m trying playground for 1st time.
Is there a list of shift commands such as ;
Funny 1st lesson doesn’t actuallly mention to enter ; until I my code wouldn’t run without ;