Enable optional chaining in Node app by using Babel

Share this video with your friends

Send Tweet

Optional chaining enables safe access of properties of an object. It can be enabled in a Node app by using Babel preset-env.