Forums
Learn
Careers
Store
About
SUBSCRIBE
NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>
Question 1/12: This code is valid Swift – true or false?
Hint: Function names and variable names are case-sensitive. Click to show.
func readUserInput() { while true { print("Reading user input...") break } readUserInput()
Correct! This is missing a closing brace.
Oops – that's not correct. This is missing a closing brace.
Return to Review Menu
You are not logged in
Link copied to your pasteboard.