Skip to content
0:00 / 0:00

#typescript3.7#optionalchaining#nullishcoalescing

Optional chaining and nullish coalescing in TypeScript 3.7

LogRocket

14K subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Made by the vendor. The company whose product it covers made or sponsored it.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Beginner. No background in the topic needed.

3.2K views7 years ago1 recommendation

Programming languagesTypeScript

How to use optional chaining and nullish coalescing features introduced in TypeScript 3.7.

Try LogRocket for free: logrocket.com/?yt3 Curious about all the TypeScript 3.7 hype? Check out this video to learn more about optional chaining and nullish coalescing in TypeScript 3.7. Introduction Understanding the discount function Defining your discounts LogRocket is a frontend logging tool that lets you replay problems as if they happened in your own browser. Instead of guessing why errors happen, or asking users for screenshots and log dumps, LogRocket lets you replay the session to quickly understand what went wrong. It works perfectly with any app, regardless of framework, and has plugins to log additional context from Redux, Vuex, and @ngrx/store. In addition to logging Redux actions and state, LogRocket records console logs, JavaScript errors, stacktraces, network requests/responses with headers + bodies, browser metadata, and custom logs. It also instruments the DOM to record the HTML and CSS on the page, recreating pixel-perfect videos of even the most complex single-page apps. Try it for free: logrocket.com/signup/

Why it's here

1 person recommends this

What people say. Recommended as a quick and clear explanation of optional chaining and nullish coalescing in TypeScript.

u/carlrnin r/typescript • Recommends

Optional chaining and nullish coalescing in TypeScript 3.7