Question: 1 ) Write a JavaScript function called fun having a number as its pa UT 1 5 rameter, called n . Your function should
Write a JavaScript function called fun having a number as its pa UT rameter, called n Your function should return a promise fulfilled with the value of n
Write a JavaScript function called fun which has three objects as its parameters and if all these three objects have at least one property with the same name or one property with the same value the function should return true, otherwise it should return false. For instance, if the objects passed to the function are a:c:a:b:d: a: it should return true or the objects passed are a:c:d:b:rk it should also return true. For a:c:a:b:d: e: and a:c:d:b:rk it should returns false.
Please add proper comments too."
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
