Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 2
    Docs
    – shmuels
    Commented Aug 31, 2022 at 19:01
  • Came here for this. In my head the operator was just adding the ? to the . acessor already so I naively assumed the correct syntax was someFunction?(). I must admit, the ?.() does look a little weird, as if you are "accessing" the function instead of invoking it. Commented Sep 8, 2023 at 7:48