Home Checking if a variable is not null then invoking the method in it in JavaScript byAlex R. •June 16, 2022 In c# the syntax is SomeVar?.Invoke() In JavaScript the syntax is SomeVar?.() Facebook Twitter