Yeison Daza
2 min read

var, let, and const in JavaScript

In JavaScript we have several ways to declare our variables, but which one should you use?

4 min read

Understanding Closures in JavaScript

A closure is when a function is able to remember and access a lexical scope, even when that function is executed outside of that lexical scope.

3 min read

Understanding Variable Scopes in JavaScript

The scope of a variable refers to where it will live or where it can be accessed. In JavaScript we have several options: global, local, and block.

4 min read

Understanding this in JavaScript

this is a JavaScript keyword that behaves very differently from other programming languages, which is why some people consider it one of the biggest design mistakes in the language.