Block-Level Scoping in ES 2015


Introduction: Scoping in JavaScript works little different compared to other languages. Without knowing this, many new and experienced developers have fallen prey to Scoping System in JavaScript. This is because of our coding habits in C#, Java or C++. The Problem: We usually create variables in for loop or if condition in a function and think that it […]

Continue reading →

Promises in ES6

Promises are usually vaguely defined as “a proxy for a value that will eventually become available”. They can be used for both synchronous and asynchronous code flows, although they make asynchronous flows easier to reason about – once you’ve mastered promises, that is. Consider as an example the upcoming fetch API. This API is a […]

Continue reading →