Thursday, December 30, 2021

Difference between synchoronus js and asynchoronus js

 --In synchoronus js code is execute line by line by one thread. 

--In asynchoronus js code is execute in background.

   -- We pass in callback that run once the function has finished its works.

   --Move on immediate : Non-blocking.

No comments:

Post a Comment

Clean code chapter 3(Robert C.martin)

  Summary: --------  1. Functions should hardly ever be 20 lines long.  2.Keep blocks (inside if, else, while, for, etc.) short.  Ideally, j...