---
title: "Discussion on \"20 TypeScript Interview Questions and Answers in 2018\" | Hashnode"
description: "Discussion on \"20 TypeScript Interview Questions and Answers in 2018\". TypeScript starts from the same syntax and semantics that millions of JavaScript developers know today. It offers support for the latest and evolving JavaScript features, including those from ECMAScript 2015 and future proposals, like async functions..."
url: "https://hashnode.com/posts/20-typescript-interview-questions-and-answers-in-2018/5b61c42d266c9a352f647c7f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [20 TypeScript Interview Questions and Answers in 2018](https://hashnode.com/post/20-typescript-interview-questions-and-answers-in-2018?utm_source=hashnode&utm_medium=feed)

TypeScript starts from the same syntax and semantics that millions of JavaScript developers know today. It offers support for the latest and evolving JavaScript features, including those from ECMAScript 2015 and future proposals, like async functions...

Aug 1, 2018 · hashnode.com  
Updated Aug 15, 2018  
Read the article

-   [#typescript](https://hashnode.com/tag/typescript)
-   [#fullstack](https://hashnode.com/tag/fullstack)
-   [#interview](https://hashnode.com/tag/interview)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#interview-questions](https://hashnode.com/tag/interview-questions)

## Written by

[Alex Ershov](https://hashnode.com/@aershov24)

@aershov24

  
[View profile](https://hashnode.com/@aershov24)

## Responses 2

Markdown supported · ⌘↵ to post

[Vishal Tyagi](https://hashnode.com/@Tyagi23)

[Oct 27, 2018](https://hashnode.com/posts/20-typescript-interview-questions-and-answers-in-2018/5b61c42d266c9a352f647c7f/comment/5bd41f203eee1d287995509a)

Hey, If you are having desire of playing [mahjongg dark dimensions free games](http://mahjongfreegames.online/dark-dimensions) as these games can be played online directly without sign in process. Also these games are known to be attractive games available online in the best quality.

[slikts](https://hashnode.com/@slikts)

[Aug 1, 2018](https://hashnode.com/posts/20-typescript-interview-questions-and-answers-in-2018/5b61c42d266c9a352f647c7f/comment/5b621353266c9a352f647e94)

Just checking for truthiness when you specifically mean `null` or `undefined` is an antipattern since it leads to accidentally mishandling values like 0 or empty strings. You should use `== null` in this case instead.

[Alex Ershov](https://hashnode.com/@aershov24)

[Aug 2, 2018](https://hashnode.com/posts/20-typescript-interview-questions-and-answers-in-2018/5b61c42d266c9a352f647c7f/comment/5b621353266c9a352f647e94#reply-5b62681d9ed4e2bf786dd7ff)

Thanks for suggestion [slikts](https://hashnode.com/@slikts)! Just corrected the answer!
