DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Discussion on: How to use the ?. operator in Javascript

kenbellows profile image
Ken Bellows • Edited on

Usually when I read "ES6 build" it means it transpiles to ES6 code, rather than that it is already ES6 compatible. This operator, fortunately, is super easy to transpile back to older syntax, so Typescript has supported it (and the nullish coalescing operator) for a little while now

(Edit for tone, and to add some details)

Thread Thread
salyadav profile image
Saloni Yadav

This puts a lot of things into perspective! :) Thank you!