aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/optional-chain-with-function.debug.js
blob: bf007b0a8639da72e183e07e8107bbfb9babe8d0 (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);
}