Instantly share code, notes, and snippets.

Embed
What would you like to do?
// Here we explicitly specify the type
var beverage: String = "Leffe"
// But the type can also be inferred from the fact that we're assigning it a String value
var name = "Leffe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment