A
Q. What will be the output of the following code snippet?
Code:
const obj1 = {Name: "Hello", Age: 16};
const obj2 = {Name: "Hello", Age: 16};
print(obj1 === obj2);
const obj2 = {Name: "Hello", Age: 16};
print(obj1 === obj2);
- Correct Answer - Option(B)
- Views: 5
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.