JavaScript substring vs. substr with Examples - The Difference Between JavaScript String Extraction FunctionsWhen you write JavaScript, you need to know string manipulation functions. There is a slight difference between JavaScript substring() and JavaScript substr() which are both used to extract characters from strings.
JavaScript substring FunctionWhen you write JavaScript, you need to know what string manipulation methods/functions are available. substring is used to take a part of a string.
JavaScript setInterval Function - JavaScript Timing EventsJavaScript features a couple of methods that lets you run a piece of JavaScript code (javascript function) at some point in the future. These methods are: setTimeout() and setInterval().
In this tutorial, I'll explain how setInterval() method works, and give a real world example.