Chapter 6: Browser and Async
Introduction
In this chapter, you’ll learn about browser-specific objects such as window
, screen
, and cookies, as well as timing functions and asynchronous programming to manage delayed tasks and session data.
Topics Covered
- Timing Functions: Delay code execution with
setTimeout
andsetInterval
. - Window Object: Access and control the browser window.
- Screen Object: Retrieve screen dimensions.
- Cookies: Store small amounts of data in the browser.
- Async Programming: Use async functions for non-blocking tasks.