aboutsummaryrefslogtreecommitdiff
path: root/test/snippets/optional-chain-with-function.js
blob: 841c8a5848dbc32049508fd491937a652db255f5 (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);
}
/option> Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/packages/integrations/alpinejs/test/fixtures/directive (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2024-10-31Fix cli command typo (#12342)Gravatar liruifengv 2-1/+6
2024-10-31[ci] formatGravatar situ2001 1-1/+1
2024-10-31fix(cli): reset `NODE_ENV` to ensure install command run in dev mode (#12338)Gravatar situ2001 2-1/+12
2024-10-30fix(i18n): default locale in server islands (#12341)Gravatar Emanuele Stoppa 9-5/+61