ES6, var vs let

In this tip, I will introduce the block-scope difference between keyword var and let. Should I replace var by let? let’s take a look


Breaking or continuing loop in functional programming

A common task for us is iterate over a list looking for a value or values, but we can’t return from inside a loop so we will have to iterate the whole array, even if the item we search is the first in the list, in this tip we will see how to short circuit with .some and .every.


Copy to Clipboard

This week I had to create a common “Copy to Clipboard” button, I’ve never created one before and I want to share how I made it.