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
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
When placed in an expression, it evaluates every expression from left to right and returns the last one.
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.
Sometimes, we need to loop endlessly over an array of items, like a carousel of images or an audio playlist. Here’s how to take an array and give it “looping powers”
You can make function arguments and callback optional
How to get the file extension more efficiently?
Understand what gets returned when using new vs. not using new.