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

Abstract factory pattern

When single task can be done by multiple groups/family of objects and decision is taken at the runtime.