The best 240 people
Hello, I hope you and your family are doing great!
It seems like I started this newsletter yesterday, but we are already 240 in our community. Thank you, you are the best! 😎 Let's continue learning and growing together.
Tip of the week
You may have seen the void operator in JavaScript. But what does it do exactly?
The void operator evaluates an expression AND returns undefined.
In other words, if you put void before executing a function, it will return undefined independently of what the function returns.
The void operator is useful to escape specific linter rules (for example, no-floating-promises). Also, in TypeScript, this operator is helpful when using an anonymous function with a quick return as an event callback.
Cool right?
Article of the week
For today's article, we will revise dictionaries. But I am not talking about books. I am talking about the data structure. We will see (with code examples) different ways of creating a dictionary in TypeScript.
Find out more by reading this article.
Blog update
Last week, I redesigned the newsletter page of the blog. You can now see the previous letters I sent directly on the website!
The Git quiz is taking more time, so instead of coming this week, it will come next week.
Thank you for reading.
See you next week!
Tim M.