What is the output of the following JavaScript code?
console.log(0 || "a", 0 ?? "a", null ?? "b", "x" && "c");- Aa 0 b c
- Ba a b c
- C0 0 b x
- Da 0 null c
Correct answer: A
What is the output of the following JavaScript code?
console.log(0 || "a", 0 ?? "a", null ?? "b", "x" && "c");