How a function returns an Object Javascript

 We saw how a function work step by step: Function Data Flow

Now we will learn how a function return an object in JavaScript

👉Let first define a function without parameter and create an object inside function body
     and call it



👉 Now we will call a function with parameter



👉Now store the returned value in - functionName() that include arguments("Pritam",30) for

     further use & print it in console by console.log





Note: rules should be added on 22 march 

like parameters are variable and steps of function data flow and with object how its react








Comments