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 Redirect - Url Redirection with JavascriptRedirecting visitors with Javascript can be achieved by one of the methods: location.href or location.replace.
JavaScript: null vs. undefined - The Difference between null and undefinedJavaScript is different from other programming languages by containin both undefined and null values, which may cause confusion.
null is a special value meaning "no value". null is a special object because typeof null returns 'object'.
On the other hand, undefined means that the variable has n...