I understand why it stopped on line 99, but why did it NOT stop on line 96?
#WebDev #Halppic.twitter.com/vyzmTKmgkJ
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Can you link to a JS Fiddle or something where you can repro?
I really wish I could. This is in a JS game where a bug caused the collision detection code to return an undefined overlap between...
...game objects. There were multiple bugs that accidentally turned coordinates into NaN, but this was the only one where the check failed...
You probably know that, but you are changing unit.y and unit.x between those lines. Are you sure it is not that?
The value of `overlap` is not affected by changes to `unit.x` or `unit.y`.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.