SEE: Six in-demand programming languages: Getting started (free PDF)
It's also got broad editor support, including Visual Studio Code, Vim, and Emacs.
"So what is optional chaining? Well at its core, optional chaining lets us write code where we can immediately stop running some expressions if we run into a null or undefined. The star of the show in optional chaining is the new ?. operator for optional property accesses," explains Daniel Rosenwasser, a program manager with Microsoft's TypeScript team.
The addition of a question mark prepending the operator brings to TypeScript similar operators available in C#, Apple's Swift, Android-aligned Kotlin, Dart, Ruby, and Groovy.
SEE: Microsoft to Linux developers: We want your help to bring Edge browser to Linux
Linked to optional chaining in TypeScript is another upcoming ECMAScript feature called 'nullish coalescing'.
"You can think of this feature – the ?? operator – as a way to 'fall back' to a default value when dealing with null or undefined," writes Rosenwasser.
Rosenwasser also lists a number of breaking changes in version 3.7 that developers should be aware of. Ahead of the final release of TypeScript 3.7 in early November, Microsoft will offer a release candidate.
More on programming languages and Microsoft's TypeScript