Differentiate Between the 3 Methods for Working With Substrings in JavaScript
As at 2021, there are 3 methods in JavaScript to extract substrings from a string, which are:
String.prototype.substr
String.prototype.substring
String.prototype.slice
You can easily get them mixed up, so let's take a closer look at each one of th...
plbstl.hashnode.dev7 min read