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.
An elegant and easy way to handle DOM events
Helpful logging techniques using coercion and conditonal breakpoints.