Skip to content

Instantly share code, notes, and snippets.

Created Dec 13, 2015
What would you like to do?
CS0110 3.9 - Scoping
pageName = 'FAQ'
isPageLoaded = displayPage( pageName )
// pageName in the function is not the same
// as the pageName on line 2.
function displayPage( pageName ) {
isPageLoaded = false
return isPageLoaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment