Skip to content
Advertisement

Tag: operator-overloading

chaining operator throwing error in express app

I am trying to use the optional chaining operator (?.) in my express app – it throws error whenever i try. I have tried all variations Answer You have 2 options Upgrade your Node version. Only these versions support optional chaining. As you can see, only Node 14.5+ supports optional chaining If you want to support older versions such as

Advertisement