synchronous

Code that runs step by step and makes the program wait for each step to finish before the next one starts.

In more detail

Each statement finishes before the next begins. Synchronous work on the main thread blocks input and rendering until it is done, which is why localStorage, sync scripts and long loops can freeze a page.

Related terms

Taught in

References

Certification courses