Question: Consider the following JavaScript code and pick the statement that best describes the code: The JavaScript engine will create two objects, then pass them as


Consider the following JavaScript code and pick the statement that best describes the code: The JavaScript engine will create two objects, then pass them as arguments to function The JavaScript engine will call the function first,then create two objects to calculate the age difference Since objects can not be passed as parameters, the JavaScript engine will just take variables, 12 and 8 , to calculate age difference and no object will be created. JavaScript engine will create two objects but won't assign values to their properties while calling function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
