Blog

Page 884 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for What is the JavaScript version of sleep()?
javascriptsleep

What is the JavaScript version of sleep()?

Published on June 20, 2021

# 💤 Mastering the Art of JavaScript Sleep 💤 Have you ever wished for a magical ✨ sleep function ✨ in JavaScript that could pause the execution of your code for a certain amount of time? Maybe you wanted to create a suspenseful effect or simulate a delay

Cover Image for How do I test for an empty JavaScript object?
javascriptjavascript-objects

How do I test for an empty JavaScript object?

Published on June 17, 2021

# How to Test for an Empty JavaScript Object 🧪🔍 So, you made an AJAX request and sometimes you get an empty object as the response. Don't worry, we've got you covered! In this guide, we'll walk you through the process of testing for an empty JavaScript

Blog | Matheus Mello