Today: yet another ES6 feature that I think most people don’t know about. The Proxy object is used to define custom behavior for fundamental operations (e.g. property lookup, assignment, enumeration, function invocation, etc).
Each programming language has its own tricks up in its sleeve. Many of them are known to developers, and yet some of them are pretty hackish. In this article, I will show you a couple of tricks I find useful. Some of them I've used in practice and others are the new way of solving old problems. Enjoy!
If you don't know what the tail call optimization means, this the best way to get to know about it.
The Optional Chaining Operator allows a developer to handle those cases without repeating themselves and/or assigning intermediate results in temporary variables: user.address?.street.
The MediaRecorder API is a web API that you can use to record audio and video in the browser. In this post we'll build an app that records audio and lets you download it.
Before RxJS become fairly popular in front-end development we all were dealing with AJAX requests with Promises. Promises are easy to use and understand but in some more complex scenarios, not enough. In this article, I will explain how to efficiently use higher-order observable streams in four different scenarios with four different flattening strategies - mergeMap, concatMap switchMap and exhaustMap.