Created
August 28, 2016 20:27
-
-
Save seth10/1ac4df5bfc49ff2ba992354d06ca50e2 to your computer and use it in GitHub Desktop.
Print an array containing a boolean for if each chapter is a string (false being undefined, getChapter has not loaded it yet) every call to addChapter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chaptersStringiness = [] | |
for(var i = 0; i < max_chapters; i++) | |
chaptersStringiness[i] = typeof(chapters[i])=="string"; | |
console.log(chaptersStringiness); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment