Call it a wait, sleep, or delay in executing code in JavaScript. It can be done in multiple ways in JavaScript on the browser and Node.js. In this post, you will learn how to wait for 1 (or x) second in Javascript using setTimeout, promise, and Delay NPM package with […]
Wait
Wait, what was that 5-second Reddit Super Bowl commercial?
At an estimated $5.5 million for a 30-second advertisement, Super Bowl commercials cost a pretty penny. One way to make it more affordable? Air a 5-second commercial instead. That’s what digital platform Reddit chose to do, airing a 5-second ad just before the start of CBS’s halftime show during the […]