Untitled

Run Settings
LanguageSwift
Language Version
Run Command
print("Hello World!") func canThrowAnError() throws { // fungsi ini bisa dimungkinkan menimbulkan kesalahan atau tidak } do { try canThrowAnError() } func makeASandwich() throws { } do { try makeASandwich() eatASandwich() } catch SandwichError.outOfCleanDishes { washdishes() } catch SandwichError.missingIngredients(let ingredients) { buyGroceries(ingredients) }
Editor Settings
Theme
Key bindings
Full width
Lines