Tuesday, September 14, 2021

Functions are also object in javascript.

 --A function is an instance of object type.

--A function behaves like any other object.

--We can store function in a variable.

--We can pass a function as argument to a function .

--We can return a function from a function .

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...