Category "optional-chaining"

How can I use optional chaining with arrays and functions?

I'm trying to use optional chaining with an array instead of an object but not sure how to do that: Here's what I'm trying to do myArray.filter(x => x.testKe

Error (Unexpected Token) using optional chaining syntax in Node 14/Vue2.js

Optional chaining isn't working on my Vue.js (v2) project on Node 14.17. const adventurer = { name: 'Alice', cat: { name: 'Dinah' } }; const dogName

Error while importing a module with optional chaining

Project setup: Vuejs 3 Webpack 4 Babel TS We created the project using vue-cli and add the dependency to the library. We then imported a project (Vue Currency

Optional-chaining in Angular

I'm using optional chaining on an object which in turn gives this error after compiling the code For example const someObj = {pet_animals: {'dog', 'cat'}}; cons