Knowledge check

Completed

Answer these questions to demonstrate what you've learned:

1.

Can variables that are declared within an if statement be used outside the if statement?

2.

In a switch block, does a break keyword need to be included at the end of every case statement?

3.

What does the panic() function do in Go?