News
Scope in JavaScript refers to context (or portion) of the code which determines the accessibility (visibility) of variables. In JavaScript, we have two types of scope, local , and global.
My understanding of Javascript scope is that every time $.getJSON succeeds, I should be allocating a new "slides" variable which contains the result of my JSON call.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results