Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
12.5
-
None
-
None
Description
Nullish coalescing operator (??) is reported as syntax error.
const foo = null ?? 'default string'; console.log(foo);
Some ref if needed:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator