Hi Colin
Here is an example
sonarCube recommend the Optional Chaining Operator (?.) here
but it is a features of ECMAScript 2020
so if we set the sonarCube rules to check ECMAScript 2018 this won’t be a issue
And if we change our code as suggested, it won’t work, since this operator is not available in 2018 version.
Is there any other solution besides changing our ECMA version?