Hi everyone, I have a problem in SuiteScript 2.1. ...
# suitescript
l
Hi everyone, I have a problem in SuiteScript 2.1. Did someone ever try to use the Optional chaining function of ES2019 ? Something like :
myArray?.["myFirstIndex"]?.["mySecondIndex"]
I can't make it work and I am wondering if it should work or not (SS 2.1 is supposed to support ES2019 functionalities) https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining