Statements (14)
| Predicate | Object |
|---|---|
| gptkbp:instanceOf |
gptkb:JavaScript_operator
|
| gptkbp:category |
gptkb:programming_language
JavaScript syntax |
| gptkbp:distinctFrom |
Logical OR operator returns right-hand operand if left-hand operand is falsy
|
| gptkbp:example |
let x = a ?? b;
|
| gptkbp:introducedIn |
gptkb:ECMAScript_2020
|
| gptkbp:relatedTo |
Logical OR operator
|
| gptkbp:result |
left-hand operand if it is not null or undefined
right-hand operand if left-hand operand is null or undefined |
| gptkbp:symbol |
??
|
| gptkbp:usedIn |
gptkb:JavaScript
|
| gptkbp:bfsParent |
gptkb:ECMAScript_2020
|
| gptkbp:bfsLayer |
6
|
| https://www.w3.org/2000/01/rdf-schema#label |
Nullish Coalescing Operator
|