aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/optional-chain-with-function.debug.js
blob: 6f963caa24c92b64bb1c98f96058dfdca5b9a52e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);
}