Why are the functions in my for loop never being called? http://pastebin.com/bAkLZpT9
-
-
-
-
Replying to @DaveVoyles
@firebellys I'm confused at this point, b/c console will say length = 0, but functions are still not being called. Odd.1 reply 0 retweets 0 likes -
Replying to @DaveVoyles
@DaveVoyles doesn't === and == do weird stuff with object types? Is length 0 or "0" or Null?1 reply 0 retweets 0 likes -
Replying to @firebellys
@firebellys == and === is odd in JS: == means it could be the string 'zero', null, OR 0. === means it MUST be 0, and ONLY 01 reply 0 retweets 0 likes -
Replying to @DaveVoyles
@DaveVoyles you should print out typeof and really see. Also, check what "this" really is at the time.2 replies 0 retweets 0 likes -
Replying to @firebellys
@firebellys@SLStudios needed to remove the for loop. Just needed " if (length === 0) {"1 reply 0 retweets 0 likes -
Replying to @DaveVoyles
@DaveVoyles@SLStudios Oh wow...i see it now...SIGH. it was just never going in there because it was 0?2 replies 0 retweets 0 likes
@firebellys @SLStudios yup. I knew it had to be something dumb like that
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.