Diego Palacios Lepore

Diego Palacios Lepore @diegolepore

Joined:
Jul 20, 2018

Diego Palacios Lepore
articles - 6 total

Memoization in JavaScript

This is a continuation of the conversations about closure. This time I'll talk about memoization, which is a performance optimization technique that leverages closures.

Learn More 0 0Apr 24 '24

A Practical Introduction to Closures in JavaScript

Closures are a very interesting topic, and it is a demonstration of how to leverage the lexical scope in JavaScript

Learn More 2 0Apr 5 '24

Understanding Array.prototype.sort() in JavaScript: A Beginner's Guide

Introduction Have you ever stumbled upon the Array.prototype.sort() method and found...

Learn More 1 0Aug 25 '23

To-Do app: Composition API as an alternative to Vuex

Provide a module that uses the new Vue 3 Composition API as an alternative to Vuex.

Learn More 91 10Oct 10 '20

Understanding “this” in JavaScript by focusing on “where” and “how” a function is invoked

In this article I talk about what I've learned about how to know where this points to in a given...

Learn More 12 0Sep 20 '20

NaN, isNaN() & Number.isNaN()

In this article I talk about the quirks of the the NaN special value, and why we should use the Number.isNaN() utility instead of isNaN().

Learn More 10 2Aug 23 '20