aboutsummaryrefslogtreecommitdiff
path: root/test/snapshots/optional-chain-with-function.js
blob: 4b53bb5edba6f9ef7a0c17bef9c4ff1b2ad13e6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
export function test() {
  try {
    const multipleSecondaryValues = undefined;
    const ratings = ["123"];
    var bar = multipleSecondaryValues?.map((value) => false);
    bar = bar?.multipleSecondaryValues?.map((value) => false);
    bar = bar?.bar?.multipleSecondaryValues?.map((value) => false);
    bar = {}?.bar?.multipleSecondaryValues?.map((value) => false);
  } catch (e) {
    throw e;
  }
  return testDone(import.meta.url);
}

//# sourceMappingURL=http://localhost:8080/optional-chain-with-function.js.map