Skip to content

Instantly share code, notes, and snippets.

@moski
Created January 20, 2012 17:24
Show Gist options
  • Select an option

  • Save moski/1648543 to your computer and use it in GitHub Desktop.

Select an option

Save moski/1648543 to your computer and use it in GitHub Desktop.
Array problem Case 2
else if (index + sectionWidth) > (length + 1)
startIndex = (length - 1) - (2 * sectionWidth)
endIndex = (length - 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment