diff options
| -rw-r--r-- | content/flowcontrol.article | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/flowcontrol.article b/content/flowcontrol.article index 6833604..0f25ab4 100644 --- a/content/flowcontrol.article +++ b/content/flowcontrol.article @@ -66,7 +66,7 @@ Variables declared by the statement are only in scope until the end of the `if`. Variables declared inside an `if` short statement are also available inside any of the `else` blocks. -(Both calls to `pow` are executed and return before the call to `fmt.Println` +(Both calls to `pow` return their results before the call to `fmt.Println` in `main` begins.) .play flowcontrol/if-and-else.go |
