# Introduction The `defer` statement is used to delay the execution of a function until the surrounding function returns. It is often used to ensure that some cleanup is performed after a function completes, regardless of the path taken to get there.
Click the virtual machine below to start practicing