Echo JS 0.11.0

<~>

MaxArt 1003 days ago. link 1 point
substring and slice are the same for most cases (the differences are explained in the article). The *real* alternative is substr.
vkarpov15 1001 days ago. link 1 point
I disagree, I prefer `slice()` :) for one thing, substr is considered a "legacy function." Also I mix up substr() and substring() so much that I just use `slice()` to avoid confusion.
MaxArt 998 days ago. link 2 points
There's a misunderstanding: I mainly use `slice` too. I only use `substr` if I have the length of the substring I need. That's its added value.

What I stopped using altogether is `substring`.