--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.
Summary: -------- 1. Functions should hardly ever be 20 lines long. 2.Keep blocks (inside if, else, while, for, etc.) short. Ideally, j...
No comments:
Post a Comment