Call a function periodically in JavaScript (with memory leak analysis)

In a production system, we run a lot of scripts periodically either to sync data from some third-party source or spit data to some source. Although there are a lot of solutions to achieve such periodic behavior, in this post we are going to discuss one su… Read more

Similar

Let, const, and var are WEIRD in JavaScript

Variable used to be the norm in JavaScript, but now there are better players on the playing field: let and const. The main difference? Scope. See, scope is important in programming. In most cases, always using global variables isn't a great idea, but ther... (more…)

Read more »