What is the difference between synchronous and asynchronous JavaScrip



What is the difference between synchronous and asynchronous JavaScrip..

Answer / hr@tgksolutions.com

• Synchronous JavaScript: Code executes line-by-line, blocking the execution until the current operation completes.
• Asynchronous JavaScript: Allows execution to continue without waiting for previous operations to complete (e.g., setTimeout(), Promises, and async/await).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

How do I enable javascript on google?

0 Answers  


How to capture the Image width and height using QTP script ? Kindly answer plz.... Thanx in adavance...

0 Answers  


Can we create session in javascript?

0 Answers  


What is the use of the String Tokenizer

1 Answers  


How do you create array in javascript?

0 Answers  


what is the need of javascript in the internet

1 Answers  


What is the similarity between the 1st and 2nd statement?

0 Answers  


Is javascript server side or client side?

0 Answers  


Explain how to write class methods vs. Instance methods.

0 Answers  


What is the Difference between HTML and DHTML

15 Answers   TCS,


Is everything in javascript asynchronous?

0 Answers  


Does apple use javascript?

0 Answers  


Categories