Is JavaScript synchronous or asynchronous?

11. Is JavaScript synchronous or asynchronous?

  1. Synchronous
  2. Asynchronous
  3. Both
  4. Synchronous but can be used as asynchronous

Answer: D) Synchronous but can be used as asynchronous

Explanation:

JS is synchronous but it can act as asynchronous using promise and async await.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.