Let’s now turn our focus to scope. Scope is probably a term you haven’t come across before so let’s start by defining exactly what scope is. Scope is effectively an understanding of access control. It helps us to understand how accessible certain variables are. This basically means how and where we are able to use our variables that we create. Let’s kick off with a basic example of something called ‘local scope’: