Support nullish coalescing operator
99
Views
0
Comments
New
Service Studio

Nullish coalescing operator (??) is a logical operator that returns its right-hand side operand when its left-hand side operand is null or undefined, and otherwise returns its left-hand side operand. 

This is widely supported and a great productive boost for those of us writing javascript in OutSystems.

The problem with using this in OutSystems is twofold:

  1. the javascript editor considers it as a syntax error 
  2. it is not possible to publish a solution that includes a module that has a javascript using this operator

Could this be improved?

Thanks,

Tiago