Secrets of the JavaScript Ninja by John Resig Bear Bibeault

Secrets of the JavaScript Ninja by John Resig Bear Bibeault

Author:John Resig Bear Bibeault
Language: eng
Format: epub, pdf


There are a few other things that we can learn from these charts. The most important is simply a reinforcement of what we learned previously: browsers don’t guarantee the exact delay interval that we specify. Although specific delay values can be asked for, the exact accuracy isn’t always guaranteed, especially with smaller values.

This needs to be taken into account in our applications when using timers. If the difference between 10 ms and 15 ms is problematic, or if you require finer granularity than the browsers are capable of delivering, you might have to rethink your approach, as the browsers just aren’t capable of delivering that accurate a level of timing.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.