πŸ“Š JavaScript
Q. What will be the output of the following JavaScript code?
Code:
const obj1 =  
{  
    property1:21  
}  
const descriptor1 =Object.getOwnPropertyDescriptor(obj1),'
console.log(descriptor1.configurable);  
console.log(descriptor1.enumerable);  
  • (A) true false
  • (B) true 21
  • (C) false false
  • (D) true true
πŸ’¬ Discuss
βœ… Correct Answer: (D) true true

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
171
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Indresh Gehalot
Publisher
πŸ“ˆ
95%
Success Rate