πŸ“Š JavaScript
Q. Which operator is used for optional chaining?
  • (A) ?.
  • (B) ?
  • (C) ??
  • (D) ->
πŸ’¬ Discuss
βœ… Correct Answer: (A) ?.

Explanation: The optional chaining operator (?.) allows accessing properties without throwing errors if the object is null or undefined.

Explanation by: Chandani
The optional chaining operator (?.) allows accessing properties without throwing errors if the object is null or undefined.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
59
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Chandani
Publisher
πŸ“ˆ
94%
Success Rate